Tag
Tag component is used for categorize content with a keyword.
Basic
Basic usage of Tag.
Basic Tag
Affix
Tag can have prefix and suffix, both affix can be customized as well.
Tag 1
Tag 2
Tag 3
Tag 4
Tag 5
Custom
We can have different Tag style by applying tailwind css class.
Tag 1
Tag 2
Tag 3
API
Tag
| Prop | Description | Type | Default |
|---|---|---|---|
| prefix | Tag prefix | boolean | ReactNode | false |
| prefixClass | Css class for Tag prefix, only available when prefix type is boolean | string | - |
| suffix | Tag suffix | boolean | ReactNode | false |
| suffixClass | Css class for Tag suffix, only available when suffix type is boolean | string | - |