Components / Navigation / Status pill

N3 · Navigation

Status pill

A short open or closed state with a dot and a text label.

When to use

  • A global state should stay visible beside navigation.
  • The state is binary and named.

When not to use

  • The state needs a chart.
  • More than two states share the same pill.

Usage

<p class="c-status" data-state="open"><span class="c-dot open" aria-hidden="true"></span> Register open</p>

Variants

Closed

Register closed

Props

NameTypeDefaultDescription
data-stateopen or closedopenWhich label and dot colour to show.
c-dot openclass—Ok colour. The text still names the state.
c-dot closedclass—Off colour.

Keyboard

KeyAction
TabReaches the toggle in this preview.
EnterActivates the toggle.

Accessibility

Motion

Pattern origin

Pattern type: a status badge with a live dot.

Related

Side navGlance statusFat footer