Description Usage Arguments Value Examples
This is to be inserted in tabler_body.
1 2 3 4 5 6 7 8 |
... |
Card content. |
title |
Card title. |
status |
Card status color. Valid statuses are given at https://preview-dev.tabler.io/docs/colors.html. |
width |
Card width. Numeric between 1 and 12 according to the Bootstrap 4 grid system. |
stacked |
Apply a stacked effect to the card. |
padding |
Card padding. Leave NULL or "sm", "md" and "lg". |
A card tag.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | if (interactive()) {
library(shiny)
ui <- tabler_page(
tabler_body(
tabler_row(
lapply(
1:2,
tabler_card,
title = "Card",
status = "success",
"My amazing card"
)
)
)
)
server <- function(input, output) {}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.