Tag

Tag component is used for categorize content with a keyword.

Basic

Basic usage of Tag.

Affix

Tag can have prefix and suffix, both affix can be customized as well.

Custom

We can have different Tag style by applying tailwind css class.

API

Tag
PropDescriptionTypeDefault
prefixTag prefixboolean | ReactNodefalse
prefixClassCss class for Tag prefix, only available when prefix type is booleanstring-
suffixTag suffixboolean | ReactNodefalse
suffixClassCss class for Tag suffix, only available when suffix type is booleanstring-