| ds_chip | R Documentation |
Create an interactive chip using Designsystemet styles.
ds_chip(..., variant = NULL, size = NULL, selected = FALSE, class = NULL)
... |
Chip content |
variant |
Chip variant |
size |
Size variant ("sm", "md", "lg") |
selected |
If TRUE, shows selected state |
class |
Additional CSS classes |
A Shiny tag object
ds_chip("React")
ds_chip("Vue", selected = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.