Tag
Data Display
@rockshin/tao-uiDisplays compact labels, statuses, categories, or checkable chips.
When to use
Use Tag for lightweight metadata or status markers. Use CheckableTag for compact filter choices.
Recommended
- Use semantic colors consistently.
- Keep tag text short.
Avoid
- Do not encode critical state by color alone.
Examples
Basic usage
DefaultPrimarySuccessWarningError
Variants
FilledSuccessWarning
SolidSuccessError
OutlinedWarning
Custom colors and closable tags
Custom tealCustom ochreClosableDisabled
Checkable tags
DesignEngineeringResearch
Custom colors
Use custom colors for categories while keeping their meaning in readable text.
IndigoPinkTealOrangeViolet
IndigoPinkTealOrangeViolet
IndigoPinkTealOrangeViolet
Tags with icons
Icons assist recognition while text retains the full meaning.
🔥Hot✅Done⚡Fast🏷️Label
Checkable tags
Use checked and its change callback for lightweight category filtering.
reactvueangularsveltesolid
Disabled tags
Disable selection or removal while retaining the label for reading.
DisabledDisabled SolidCan't CloseCan't Check