Status Dot

Un pequeño punto de estado redondo en un tono semántico, con pulso y nombre accesible opcionales.

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

Uso

Running Following 2

Importación

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

Referencia de la 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.

Selector
sone-status-dot
Inputs
NombreTipo Predeterminado
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