Components
Tag
Compact category labels in four tones.
Tag marks categories and keywords inline.
Example
Preview
DefaultSuccessWarningDanger
import { Tag } from '@officina/ui';
<Tag tone="success">Active</Tag>
<Tag tone="danger">Blocked</Tag>API
| Prop | Type | Default | Description |
|---|---|---|---|
| children* | ReactNode | — | Tag contents (label text or nodes). |
| tone | "default" | "success" | "warning" | "danger" | null | — |