ionicon: BS4 ionicons

Description Usage Arguments Note Author(s) Examples

View source: R/useful-items.R

Description

Create a ionicon.

Usage

1

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
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) {}
 )
}

hiplot/bs4Dash2 documentation built on Dec. 20, 2021, 3:51 p.m.