Officina UI
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

PropTypeDefaultDescription
children*ReactNode—Tag contents (label text or nodes).
tone"default" | "success" | "warning" | "danger" | null—

On this page