Officina UI
Components

StatusLabel

Labeled status pill with tone, optional dot, and pulse.

StatusLabel pairs a tone-coded dot with a text status.

Example

Preview
OnlineDegradedOfflineIdle
import { StatusLabel } from '@officina/ui';

<StatusLabel tone="success" pulse>Online</StatusLabel>
<StatusLabel tone="danger" variant="soft">Offline</StatusLabel>

API

PropTypeDefaultDescription
dotbooleantrueShow a leading status dot. Ignored when `icon` is provided.
iconReactNode—Leading icon; replaces the status dot when set.
pulseboolean—Animate a pulsing ring on the dot.
toneenumneutralSemantic colour of the label and dot.
variantenumplain`plain` is dot + text on the surface; `soft` wraps it in a tinted pill.

On this page