Build a shinyuikit Section

ukSection(..., style = NULL, size = NULL, preserve_color = FALSE,
  remove_padding = FALSE)

Arguments

...

The UI elements to place in the card

style

character. Can be 'default', 'primary' or 'secondary'.

size

character. Can be 'small' or 'large'.

preserve_color

logical. Preserve the original color of the content

remove_padding

logical. Remove padding

Examples

# NOT RUN {
library(shiny)
shinyApp(
ui = uikitPage(
 ukSection(
   ukContainer(
     h1("Section", class = "uk-heading-primary"),
     p(HTML(paste0("A simple container to divide your page into ", strong("section"), ", like the one you're currently reading"))),
     class = "uk-text-center"
   ),
   style = "muted"
 )
),
server = function(input, output) {}
)
# }