data-display / stable
StatusIcon
Workflow status glyph with per-status hue and position fill; StatusLabel adds its name.
LIVE PREVIEW
Loading preview…
When to use
- Work-item status in rows, kanban cards, pickers and peek headers.
- Any workflow status — map the status to its category, pass its hue as `color` and its fill fraction as `progress`.
Consider an alternative
- Non-status labels (tags, counts, Draft/Beta) — use Badge.
- On its own without a name or `label` — colour and shape alone are not enough.
Import
import { StatusIcon } from '@revido-llc/kit';Props
Props documented by the Kit. Refer to the TypeScript types for the complete interface, including inherited props.
Related exports
StatusLabel
Examples
Workflow positions
Fifteen workflow statuses, with hue and fill advancing within active categories. Foreground-mixed ink remains legible on each popover surface.
<StatusLabel category="in-progress" color="var(--warning)" progress={0.25}>In Progress</StatusLabel>
<StatusLabel category="in-progress" color="var(--info)" progress={0.5}>PR Open</StatusLabel>
<StatusLabel category="in-review" color="var(--primary-text)" progress={0.75}>Final Review</StatusLabel>Categories
One glyph per category; colours come from tokens unless the workflow defines its own.
<StatusLabel category="in-progress">In progress</StatusLabel>
<StatusLabel category="done">Done</StatusLabel>Custom status hue
Workflow statuses keep their own colour; pass it as a CSS colour or token var.
<StatusLabel category="in-review" color={status.color}>{status.name}</StatusLabel>Icon only
In tight spots (a kanban card corner), give the icon a `label` so it is announced.
<StatusIcon category="blocked" label="Blocked" />