Tag
Small labels for categorizing, filtering, or marking items.
When to Use
- To categorize or label content
- For status indicators or filters
- As removable tags in multi-select scenarios
Import
Examples
Basic
Closable
Borderless
Status Tags
Checkable
API
TagProps
color—string— Tag color (preset or custom hex)closable—boolean— Show close button (default:false)bordered—boolean— Show border (default:true)icon—ReactNode— Icon before textcloseIcon—ReactNode— Custom close icononClose—(e: MouseEvent) => void— Close callback
Tag.CheckableTag Props
checked—boolean— Checked stateonChange—(checked: boolean) => void— Toggle callback