ZUI

Search documentation

Find a page or a heading.

Status Indicator

A small decorative dot colored by a semantic status tone (online, offline, busy or idle), which can pulse for a state still in progress.

tsx

Installation

bash

Usage

tsx

The dot is hidden from assistive technology, so the text beside it carries the status:

tsx

It is not for an identity colour, and not for an unsaved-changes flag, which is Unsaved Indicator.

API reference

StatusIndicator

Renders a span and takes every prop a span takes, plus:

Offline draws as a hollow ring rather than a fill. It sets data-slot="status-indicator", data-tone to its tone, data-pulse while it pulses, and aria-hidden.