Skip to content
Cynco UI

Components · Data display

StatusChip

A neutral chip whose only colour is a small status square with a glyph.

import { StatusChip } from "@cynco-labs/ui";

Example

Use

Invoice, payment and filing states in tables and headers.

Props

tone (green · blue · red · orange · amber · yellow · purple · pink · fuchsia · neutral), glyph (check, clock, alert, x, pause, play, calendar, coins, …), dashed for drafts, label as children. StatusChipIcon is the square alone; StatusRing is a progress ring (fraction 0–1).

Notes

Never colour the label — the square carries the state, and every state has a glyph and a word, so it never relies on hue. Tone hexes are fixed in the component (e.g. green #30a46c, blue #3e8bd9, red #e5484d, amber #e5a21f), not tokens.

Source Demo source Markdown