tag
Tags are used as labels to organize things or to indicate a selection.
Usage
tag BrandVariants
Set the variant attribute to change the tagβs theme.
tag(variant="brand") Brandtag(variant="success") Successtag(variant="danger") DangerSizes
Use the size attribute to change a tagβs size.
tag(size="small") Smalltag(size="medium") Mediumtag(size="large") LargeAttributes
| Name | Type | Default | Description |
|---|---|---|---|
variant | brand | neutral | success | warning | danger | neutral | The tagβs theme variant. |
size | small | medium | large | medium | The tagβs size. |
appearance | accent | filled | outlined | filled-outlined | filled-outlined | Visual appearance. |
pill | boolean | false | Draws a pill-style tag with rounded edges. |
with-remove | boolean | false | Shows a remove button. |