Status Dot
A small round status mark in a semantic tone, with an optional pulse and accessible name.
Available in
Angular: available Vue: available React: available React Native: available
Usage
Running Following 2
<div class="demo-stack">
<div class="demo-row" style="gap: var(--space-4)">
<sone-status-dot />
<sone-status-dot tone="live" />
<sone-status-dot tone="success" />
<sone-status-dot tone="warning" />
<sone-status-dot tone="destructive" />
<sone-status-dot tone="accent" />
</div>
<div class="demo-row">
<span class="demo-row" style="gap: var(--space-2)">
<sone-status-dot tone="live" pulse /> Running
</span>
<span class="demo-row" style="gap: var(--space-2); color: var(--success-text)">
<sone-status-dot tone="current" size="sm" /> Following
</span>
<span soneBadge variant="outline">
<sone-status-dot tone="warning" size="sm" label="Needs you" /> 2
</span>
</div>
</div>Import
import {
SoneStatusDotComponent,
} from "@surface-one/angular/status-dot";API reference
SoneStatusDotComponentComponent
`<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.
| Name | Type | Default |
|---|---|---|
tone | StatusDotTone | "muted" |
size | StatusDotSize | "default" |
pulsePulses while something is going on; still under `prefers-reduced-motion: reduce`. | boolean | false |
labelThe accessible name; leave it out when text next to the dot already says the status. | string | null | null |