Skip to content

Feedback

StatusDot

Compact status indicator with tone and pulse options.

import { StatusDot } from '@var-ui/react';

API online

Search degraded

Webhooks down

StatusDot

Compact presence/status indicator. Pair with visible text or an aria-label — the dot alone is decorative.

Examples

Default

A solid success dot labeled for assistive tech.

Demo.tsxTSX
import { StatusDot } from '@var-ui/react';

<StatusDot tone="success" appearance="solid" aria-label="Online" />

Tones and pulse

Use semantic tones for status, and pulse for in-progress states (respects reduced motion).

Online Away Offline Syncing
Demo.tsxTSX
import { StatusDot } from '@var-ui/react';

<span>
  <StatusDot tone="success" aria-label="Online" /> Online
</span>
<span>
  <StatusDot tone="info" pulse aria-label="Syncing" /> Syncing
</span>

Props

Accessibility

Provide an aria-label when the meaning isn’t in adjacent text (sets role="img"). Prefer visible labels for color-blind users; pulse animation is disabled under prefers-reduced-motion.