oc · docs
docs / documentation

@orangecheck/design


@orangecheck/design / StatusPill

Function: StatusPill()

function StatusPill(__namedParameters: StatusPillProps): any;

Defined in: primitives/status-pill.tsx:62

Generic state pill — the canonical form of the per-domain status pills that me (compliance/severity) and others reimplement. Apps map their domain status → { tone, label, icon }; this renders it consistently. Two variants: plain (borderless lowercase) and bordered (uppercase badge with a tone-tinted border).

Parameters

ParameterType
__namedParametersStatusPillProps

Returns

any