Build a container to align and center page content.
UIkitContainer(..., size = NULL)
... | Any UI element. |
---|---|
size | Container size: "small", "large" or "expand". |
if(interactive()){ library(shiny) shiny::shinyApp( ui = UIkitPage( title = "My UIkit application", UIkitContainer( UIkitCard( title = "My card", badge = "test", hover = TRUE, horizontal = TRUE, UIkitCardMedia( src = "https://getuikit.com/docs/images/light.jpg", horizontal = TRUE, position = "left" ), body = "This is the body" ) ) ), server = function(input, output) {} ) }