Status Dot

Um pequeno ponto de estado redondo num tom semântico, com pulsação e nome acessível opcionais.

Disponível em
  • Angular: disponível
  • Vue: disponível
  • React: disponível
  • React Native: disponível

Uso

Running Following 2

Importação

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

Referência da 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.

Seletor
sone-status-dot
Inputs
NomeTipo Padrão
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