Learn R Programming

shiny.blueprint (version 0.3.0)

Icon: Icon

Description

Documentation: https://blueprintjs.com/docs/#core/components/icon

Usage

Icon(...)

Value

Object with shiny.tag class suitable for use in the UI of a Shiny app.

Arguments

...

Component props and children. See the official Blueprint docs for details.

Details

A list of available icons: https://blueprintjs.com/docs/#icons

Examples

Run this code
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"))

Run the code above in your browser using DataLab