Components
StatusDot
A small circular indicator that communicates the current status of an entity through color and optional pulse animation.
Overview
StatusDot is a tiny colored circle that indicates status — online, offline, busy, away, etc. Supports a pulsing animation for active/live states.
Usage
<StatusDot status="online" />
<StatusDot status="offline" />
<StatusDot status="busy" pulse />
<StatusDot status="away" />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
status | 'online' | 'offline' | 'busy' | 'away' | 'idle' | 'offline' | Status type |
pulse | boolean | false | Pulsing animation |
size | 'sm' | 'md' | 'lg' | 'md' | Dot size |
label | string | — | Accessible label |
Accessibility
- Has
role="status"witharia-labeldescribing the state - Pulse animation respects
prefers-reduced-motion
Related Components
| Component | When to Use Instead |
|---|---|
| Badge | Count or label indicator |
| Avatar | User image with status dot |