Icon | R Documentation |
Documentation: https://blueprintjs.com/docs/#core/components/icon
Icon(...)
... |
Component props and children. See the official Blueprint docs for details. |
A list of available icons: https://blueprintjs.com/docs/#icons
Object with shiny.tag
class suitable for use in the UI of a Shiny app.
library(shiny.blueprint)
library(shiny)
ui <- function(id) {
tagList(
Icon(icon = "cross"),
Icon(icon = "globe", size = 20),
)
}
server <- function(id) {
moduleServer(id, function(input, output, session) {})
}
if (interactive()) shinyApp(ui("app"), function(input, output) server("app"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.