Data
Token
Displays colored tags, categories, links, or removable selections.
idle
Usage
Examples
Colors and disabled states
Sizes and leading icons
Clickable, linked, and hidden labels
Removal and end content
Recommendations
| Guidance | Practice |
|---|---|
| Do | Use a short label, two or three meaningful category colors, and icons only when they help recognition. Keep hidden labels accessible. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | Use Token for metadata, filters, and reversible selections. Combobox owns multi-select input behavior. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | required | Visible label and accessible name for interactive tokens. |
| | default | Eleven colors for categories and associated data. |
| | md | 24px, 28px, or 32px token height. |
| | — | Decorative leading icon or avatar. |
| | — | Trailing count or supporting content. |
| | — | Native link destination. Disabled tokens drop it. |
| | — | Accessible description of the token and its action. |
| | false | Disables activation and removal. |
| | — | Adds a native activation button when no href is supplied. |
| | — | Adds a separate native remove button. |