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) {}
 )
}

bs4Dash documentation built on July 23, 2021, 5:06 p.m.