Description Usage Author(s) Examples
Navigate at the top of the web page
1 |
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | if(interactive()){
library(shiny)
shiny::shinyApp(
ui = UIkitPage(
title = "My UIkit application",
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"
),
UIkitCard(
title = "My card",
badge = "test",
hover = TRUE,
horizontal = FALSE,
header = "This is the header",
style = "secondary",
UIkitCardMedia(
src = "https://getuikit.com/docs/images/light.jpg",
horizontal = TRUE,
position = "left"
),
body = "This is the body",
footer = "This is the footer"
),
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"
),
UIkitCard(
title = "My card",
badge = "test",
hover = TRUE,
horizontal = FALSE,
header = "This is the header",
style = "secondary",
UIkitCardMedia(
src = "https://getuikit.com/docs/images/light.jpg",
horizontal = TRUE,
position = "left"
),
body = "This is the body",
footer = "This is the footer"
),
UIkitTotop()
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.