Description Usage Arguments Author(s) Examples
Build a tabler tag
1 2 |
name |
Tag name. |
href |
Tag external link. |
rounded |
Whether the tag is rounded. FALSE by default. |
color |
Tag color. See https://preview.tabler.io/docs/colors.html. |
addon |
Tag addon (right side). |
addonColor |
Addon background color. See https://preview.tabler.io/docs/colors.html. |
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 | if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerTag(name = "Tag"),
tablerTag(name = "Tag", href = "https://www.google.com"),
tablerTag(name = "Tag", rounded = TRUE, color = "pink"),
tablerTag(
name = "npm",
href = "https://www.google.com",
color = "dark",
addon = "passing",
addonColor = "warning"
),
tablerTag(name = "build", addon = "passing", addonColor = "success")
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.