Place scalable vector icons anywhere in your content

UIkitIcon(icon, ratio = NULL, button = FALSE)

Arguments

icon

Icon name. See https://getuikit.com/docs/icon#library for the full list.

ratio

Icon ratio compared to the normal value. 2 means twice bigger than the base case.

button

Whether to wrap the icon in a button.

Examples

if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitIcon("paint-bucket"), UIkitIcon("home", ratio = 2), UIkitIcon("twitter", button = TRUE) ), server = function(input, output) {} ) }