ionicon {bs4Dash}R Documentation

BS4 ionicons

Description

Create a ionicon.

Usage

ionicon(name)

Arguments

name

Name of icon. See https://ionic.io/ionicons/.

Note

Similar to the icon function from shiny.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

if(interactive()){
 library(shiny)
 library(bs4Dash)
 
 shinyApp(
   ui = dashboardPage(
     header = dashboardHeader(),
     sidebar = dashboardSidebar(),
     controlbar = dashboardControlbar(),
     footer = dashboardFooter(),
     title = "Ionicons",
     body = dashboardBody(
      ionicon(name ="heart"),
      ionicon(name ="beer")
    )
   ),
   server = function(input, output) {}
 )
}


[Package bs4Dash version 2.1.0 Index]