Place scalable vector icons anywhere in your content
UIkitIcon(icon, ratio = NULL, button = FALSE)
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. |
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) {} ) }