Build a set of columns.

UIkitColumns(..., n, divider = FALSE)

Arguments

...

Any UI element. You can also insert inline element using UIkitColumnSpan().

n

Number of columns: from 2 to 6.

divider

Whether to display a divider between columns. FALSE by default.

Note

UI content needs to be wrapped in a p() tag.

Examples

if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitColumns( n = 2, divider = TRUE, p("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris." ), p("Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." ), UIkitColumnSpan( "All we have to decide is what to do with the time that is given us" ), p("Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.") ) ), server = function(input, output) {} ) }