# 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](https://unseenui.com/components/status-badge/), [Chip](https://unseenui.com/components/chip/).

## Installation

```bash
npm install @stackunseen/ui
```

## Usage

```tsx
import { Tag } from '@stackunseen/ui';
import { StatusBadge } from '@stackunseen/ui';
import '@stackunseen/ui/styles.css';

<Tag tone="accent">Advanced</Tag>
```

## All props

| Prop | Type | Description |
| --- | --- | --- |
| `hue` | `string` | A custom hue (any CSS colour) mixed into the surface and text in place of a tone. |
| `icon` | `ReactNode` | Decorative icon before the label. |
| `mono` | `boolean` | Monospace for identifiers and metadata. |
| `size` | `"default" \| "sm"` |  |
| `tone` | `TagTone` | Colour meaning is the application's; the tag adds no status semantics. |

## Keyboard

Inert content; it adds no tab stop.

## Works with

[Card](https://unseenui.com/components/card/), [Table](https://unseenui.com/components/table/), [DiffStat](https://unseenui.com/components/diff-stat/), [ElapsedTime](https://unseenui.com/components/elapsed-time/), [Numeric](https://unseenui.com/components/numeric/), [Kbd](https://unseenui.com/components/kbd/), [DotRing](https://unseenui.com/components/dot-ring/), [DotBars](https://unseenui.com/components/dot-bars/), [WeekStrip](https://unseenui.com/components/week-strip/), [HeatKeys](https://unseenui.com/components/heat-keys/), [Sparkline](https://unseenui.com/components/sparkline/), [BarList](https://unseenui.com/components/bar-list/)

Page: https://unseenui.com/components/tag/
