Build a tabler tag
Usage
tablerTag(
name,
href = NULL,
rounded = FALSE,
color = NULL,
addon = NULL,
addonColor = NULL
)
Arguments
- 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.
Author
David Granjon, dgranjon@ymail.com
Examples
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) {}
)
}