Status Dot

Mała okrągła kropka statusu w kolorze znaczeniowym, z opcjonalnym pulsowaniem i nazwą dostępności.

Dostępny w
  • Angular: dostępny
  • Vue: dostępny
  • React: dostępny
  • React Native: dostępny

Użycie

Running Following 2

Import

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

Dokumentacja API

SoneStatusDotComponentKomponent

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

Selektor
sone-status-dot
Wejścia
NazwaTyp Domyślnie
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