Add icons.

bulmaIcon(icon, color = NULL, size = NULL)

Arguments

icon

Fontawesome icon class.

color

color of icon.

size

size of icon.

Examples

if(interactive()){
  library(shiny)
  
  ui <- bulmaPage(
    bulmaContainer(
      bulmaIcon(
        "fa fa-info",
        color = "info"
      ),
      bulmaButton(
        bulmaIcon("fa fa-home"),
        style = "outlined"
      )
    )
  )
  
  server <- function(input, output){}
  
  shinyApp(ui, server)
}