Status Dot

Un petit point d’état rond dans une teinte sémantique, avec pulsation et nom accessible facultatifs.

Disponible pour
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: disponible

Utilisation

Running Following 2

Importation

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

Référence de l’API

SoneStatusDotComponentComposant

`<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.

Sélecteur
sone-status-dot
Inputs
NomType Par défaut
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