Status Dot

Un piccolo punto di stato rotondo in un tono semantico, con pulsazione e nome accessibile facoltativi.

Disponibile in
  • Angular: disponibile
  • Vue: disponibile
  • React: disponibile
  • React Native: disponibile

Utilizzo

Running Following 2

Importazione

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

Riferimento API

SoneStatusDotComponentComponente

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

Selettore
sone-status-dot
Input
NomeTipo Predefinito
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