Common status states
The built-in text labels are enough for most dashboards.
<CwStatusDot status="online" showLabel />
<CwStatusDot status="offline" showLabel />
<CwStatusDot status="loading" showLabel />
<CwStatusDot status="warning" showLabel />Simple status indicator for online, offline, loading, and warning states. Offline and warning statuses include ring animations; loading pulses.
<CwStatusDot status="online" showLabel />
<CwStatusDot status="offline" showLabel />
<CwStatusDot status="loading" showLabel />
<CwStatusDot status="warning" showLabel />
<!-- Offline status is animated (CSS pulse) -->
<CwStatusDot status="offline" size="lg" label="Offline (pulsing)" showLabel />CwStatusDot is the smallest status indicator in the library. Use it when you need a quick semantic state without the weight of a full badge or chip.
| API | Type | Details |
|---|---|---|
status Default: | 'online' | 'offline' | 'loading' | 'warning' | Semantic state to display. |
size Default: | 'sm' | 'md' | 'lg' | Dot size preset. |
label | string | Optional custom text label. |
showLabel Default: | boolean | Shows the text label next to the dot. |
These snippets intentionally show the full public API surface the live demo relies on.
The built-in text labels are enough for most dashboards.
<CwStatusDot status="online" showLabel />
<CwStatusDot status="offline" showLabel />
<CwStatusDot status="loading" showLabel />
<CwStatusDot status="warning" showLabel />Use a custom label when the domain language matters more than the generic status name.
<CwStatusDot
status="warning"
size="lg"
label="Sensor stale"
showLabel
/>