Angular playground

Nova v3.37.0

Preview

Angular

Status indicator

nv-statusindicator

A small, non-interactive pill that shows the current state of a system, object or process.

Live demo

Status
Emphasis

Use a status indicator to show the current condition of something, such as "Online", "In progress" or "Failed". It is informational only: for something people navigate to or remove, use a tag; for selectable filters, use a pill.

Anatomy

A green status indicator reading Label with three callouts: 1 marks the pill-shaped container, 2 the check icon and 3 the label.

The parts of a status indicator.
  1. Container is a small pill.
  2. Icon is chosen by status, so the meaning doesn't rely on colour.
  3. Label (optional) describes the state in a word or two.

Interaction

A status indicator communicates a system-controlled condition or a completed result. It has no click, removal or selection behaviour. Keep it informational even if other content in the same row is interactive. Use a tag for a link or removable label and a pill for an option the user can toggle.

Status and emphasis

status defaults to neutral and emphasis to low. Map the design's emphasis names to the API as follows:

Design emphasisComponent setting
Low: outline with no fillemphasis="low"
Medium: light fillemphasis="high"

The status selects both colour and icon. The design lists possible icon families; the component uses these fixed icons rather than an icon prop:

StatusColourRendered icon
successGreencircle-check
errorRedalert-circle
warningYellowalert-triangle
informationBlueinfo-circle
neutralGreyhelp
emphasis="low" · default
emphasis="high"

Always set a label where you can. Without one, the indicator is announced by its raw status value, such as "warning", which rarely says enough.

Use short state labels such as “Validated”, “In progress” or “Failed”. The mandatory icon and readable label keep the meaning available to people who cannot distinguish the status colours.

DoName the state in a word or two.
Don'tAvoid indicators without a label; they are announced as the raw status.

Sources