Skip to content

Status ​

Semantic status indicator with a colored dot or icon plus an optional label. Use for compact state labels in tables, lists, and summaries — not for interactive chips or alerts. Empty the default slot for icon-only.

Overview ​

The catnip-status custom element shows a status dot (default) plus label text from the default slot. Set leftIcon (or leftIconSlot) to replace the dot with a Catnip icon. With no slotted text it uses icon-only layout.

PropRole
intentSemantic color: neutral, informative, success, warning, danger, disabled, brand
filledPill with a subtle background. Off is indicator + label only
sizeDensity m (default) or l
leftIconOptional Catnip icon; replaces the dot
statusAriaLabelAccessible name when the default slot is empty (required for icon-only)

Live example ​

Guidelines ​

When to use ​

  • Show a compact state next to a row, cell, or heading (for example Active, Pending, Error).
  • Prefer the unfilled treatment in dense tables; set filled when the status needs more visual weight on a busy surface.
  • Use the dot for a generic indicator. Pass leftIcon when the design uses a catalog icon (clock, info, tick-circle, and so on).

When not to use ​

  • Do not use Status for actions or selection — use Chip or Button.
  • Do not use Status for full-width system messages — use Alert. Use Toast for viewport overlay feedback.

Composition ​

In a Table cell:

html
<catnip-table-cell>
  <catnip-status intent="success">Active</catnip-status>
</catnip-table-cell>

Icon + label (Figma examples):

html
<catnip-status intent="neutral" left-icon="clock">Waiting</catnip-status>
<catnip-status intent="informative" left-icon="info">Active</catnip-status>
<catnip-status intent="success" left-icon="tick-circle">Finished</catnip-status>
<catnip-status filled intent="warning" left-icon="warning">Pending</catnip-status>

Icon-only — statusAriaLabel (HTML: status-aria-label) is required:

html
<catnip-status intent="success" left-icon="tick-circle" status-aria-label="Finished"></catnip-status>

Intents ​

IntentTypical meaning
neutralDefault / unknown
informativeInformational / in review
successCompleted / healthy
warningAttention needed
dangerError / failed
disabledUnavailable / inactive
brandBrand-accented highlight

Catnip Design System by Signicat