Description Usage Arguments Value Examples
This function generates a random fontawesome
icon for quick usage
while prototyping shiny apps.
1 | random_icon(term = NULL, class = NULL)
|
term |
(optional) term to limit number of icons available to a specific category. For a list of available terms see the icon_table. |
class |
Additional classes to customize the style of the icon (see the usage examples for details on supported styles). |
An HTML icon element returned via shiny::icon()
1 2 3 4 | require(shiny)
random_icon() # should display in R Viewer
random_icon("animal")
shiny::fluidRow(random_icon())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.