| ds_tag | R Documentation |
Create a text label tag using Designsystemet styles.
ds_tag(..., color = NULL, variant = NULL, size = NULL, class = NULL)
... |
Tag content (text or child elements). |
color |
Color context: one of |
variant |
Structural variant: |
size |
Size variant ( |
class |
Additional CSS classes. |
Tags are the right component for standalone text status labels such as
"New", "Beta" or "Active". For numeric count indicators, use
ds_badge.
A Shiny tag object
ds_tag("New")
ds_tag("Active", color = "success")
ds_tag("Warning", color = "warning", variant = "outline")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.