| Type: | Package | 
| Title: | Assets for 'shiny.semantic' | 
| Version: | 1.1.0 | 
| Description: | Style sheets and JavaScript assets for 'shiny.semantic' package. | 
| URL: | https://github.com/Appsilon/semantic.assets | 
| BugReports: | https://github.com/Appsilon/semantic.assets/issues | 
| License: | LGPL-3 | 
| Encoding: | UTF-8 | 
| RoxygenNote: | 7.2.3 | 
| Imports: | htmlwidgets | 
| Suggests: | shiny, shiny.semantic | 
| NeedsCompilation: | no | 
| Packaged: | 2024-01-08 11:37:57 UTC; kuba | 
| Author: | Jakub Nowicki [aut, cre] | 
| Maintainer: | Jakub Nowicki <opensource+kuba@appsilon.com> | 
| Repository: | CRAN | 
| Date/Publication: | 2024-01-08 16:20:02 UTC | 
Supported semantic themes
Description
Supported semantic themes
Usage
SUPPORTED_THEMES
Format
An object of class character of length 17.
Value
A character vector of supported themes
Examples
SUPPORTED_THEMES
Render semanticui htmlwidget
Description
htmlwidget that adds semanticui dependencies and renders in viewer or rmarkdown.
Usage
uirender(ui, width = NULL, height = NULL, element_id = NULL)
Arguments
| ui | UI, which will be wraped in an htmlwidget. | 
| width | Fixed width for widget (in css units). The default is NULL, which results in intelligent automatic sizing. | 
| height | Fixed height for widget (in css units). The default is NULL, which results in intelligent automatic sizing. | 
| element_id | Use an explicit element ID for the widget (rather than an automatically generated one). | 
Examples
library(shiny)
library(shiny.semantic)
library(semantic.assets)
uirender(
  card(
    div(
      class = "content",
      div(class = "header", "Elliot Fu"),
      div(class = "meta", "Friend"),
      div(class = "description", "Elliot Fu is a film-maker from New York.")
    )
  )
)