Description Usage Arguments Note Author(s) Examples
Utilize the power of flexbox to create a wide range of layouts
1 2 |
... |
Slot for an UIkitFlexElement. |
horiz_align |
Horizontal alignement style: "left", "center", "right", "between" and "around". |
vert_align |
Vertical alignement style: "stretch", "top", "middle" and "bottom". |
direction |
Flex direction: either "row" or "column", |
You can also include UIkitGridElement instead ot UIkitFlexElement.
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 | if(interactive()){
library(shiny)
shiny::shinyApp(
ui = UIkitPage(
title = "My UIkit application",
UIkitFlex(
horiz_align = "center",
vert_align = "middle",
direction = "column",
UIkitFlexElement(
UIkitTile(style = "primary", "Primary")
),
UIkitFlexElement(
UIkitTile(style = "primary", "Primary")
)
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.