Status Dot

A small round status mark in a semantic tone, with an optional pulse and accessible name.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: available

Usage

Running Following 2

Import

ts
import {
  SoneStatusDotComponent,
} from "@surface-one/angular/status-dot";

API reference

SoneStatusDotComponentComponent

`<sone-status-dot>` — a small round status mark. Decorative by default (`aria-hidden`); give it a `label` when the dot is the only thing that says the status, and it becomes `role="img"` with that name.

Selector
sone-status-dot
Inputs
NameType Default
toneStatusDotTone"muted"
sizeStatusDotSize"default"
pulse

Pulses while something is going on; still under `prefers-reduced-motion: reduce`.

booleanfalse
label

The accessible name; leave it out when text next to the dot already says the status.

string | nullnull