Tag
A neutral label for categories and levels, with tones and two sizes.
- Use it for
- A category or level label.
- Not for
- Run or task state. Try StatusBadge or Chip.
Tag preview
RecommendedAdvanced
Installation
npm install @stackunseen/uiimport { Tag } from '@stackunseen/ui';Styles:
@stackunseen/ui/styles.cssUsage and props
A tag is only a label; it doesn’t mean a status. Use StatusBadge for run and approval status.
Supported inputs
This is the public signature used by this example. Open Code to see how the values and callbacks fit together.
Native span props · children · tone?: neutral | primary | accent | success | warning · hue? · size?: default | sm · mono? · icon?All props
Loading…
For your coding agent
Give the agent this page instead of a screenshot. The prompt wraps the page with the install and import lines and the rule that your server, not a click, completes an action.
- Contract
- Native span props · children · tone?: neutral | primary | accent | success | warning · hue? · size?: default | sm · mono? · icon?
- Keeps honest
- A tag is only a label; it doesn’t mean a status. Use StatusBadge for run and approval status.
- MCP
read_component "Tag"on the docs endpoint
Keyboard and customization
Keyboard
Inert content; it adds no tab stop.
Customization
Change shared colors, spacing, corners and icons with the theme. Use the component's supported props to adapt its content and layout. Customization guide and Theme Studio