Badge
Description
Create a small inline status label.
Usage
bc_badge(..., variant = "default")
Arguments
| Argument | Description |
|---|---|
... |
Tag attributes and content, such as the label text. |
variant |
String. One of default, secondary, destructive, outline, ghost. |
Value
An htmltools tag.
Examples
bc_badge("stable")
stable
bc_badge("wipe", variant = "destructive")
wipe