Description Usage Arguments Author(s) Examples
View source: R/UIkitContainer.R
Build a container to align and center page content.
1 | UIkitContainer(..., size = NULL)
|
... |
Any UI element. |
size |
Container size: "small", "large" or "expand". |
David Granjon, dgranjon@ymail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.