Create layout boxes with different backgrounds that can be arranged seamlessly next to each other
UIkitTile(..., style = NULL, padding = NULL)
... | Any element. |
---|---|
style | Tile style: "muted", "primary" or "secondary". NULL by default. |
padding | Apply different spacing. NULL by default. Choose "remove", "small" or "large". |
if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitGrid( child_width = "1-6", UIkitTile("Default"), UIkitTile(style = "muted", "Muted"), UIkitTile(style = "primary", "Primary"), UIkitTile(style = "secondary", "Secondary"), UIkitTile(style = "primary", padding = "large", "Primary Large") ) ), server = function(input, output) {} ) }