APIOperational
DashboardOperational
WebhooksDegraded
Email deliveryOutage
SearchMaintenance
Playground
Change the props and copy the code. The controls come from the component's TypeScript types.
All systems normal
Props
status
size
import { StatusIndicator } from "@/components/ui/status-indicator";<StatusIndicator label="All systems normal" />Installation
$ pnpm dlx shadcn@latest add @synccn/status-indicatorFirst time in this project? Connect synccn with one command.
Usage
import { StatusIndicator } from "@/components/ui/status-indicator";<StatusIndicator status="online" />API reference
Generated from the component's TypeScript types, so it always matches the code.
StatusIndicator
A dot with an optional pulse and label, for presence or system status.
PropTypeDescription
- status
"online" | "busy" | "away" | "offline" | "info"Default
"online"Colour and default label.
- label
React.ReactNode | falseCustom label, or false to hide it.
- pulse
booleanDefault
trueAnimated ring around the dot.
- size
"sm" | "default" | "lg"Default
"default"Dot size.
- className
stringExtra classes for the root element.
Dependencies
Read from the component's imports when the site builds. The CLI installs all of these for you.
Accessibility
From the source
Read from this component's code when the site builds, so it can't drift.
- ARIA roles: status
- Respects the reduced motion setting
- Shows a visible focus ring for keyboard users
- Announces changes to screen readers
More display
CardSurface with header, content and footer slots.BadgeSmall status label with an optional dot.AvatarImage with initials fallback, presence dot and stacked groups.KbdKeyboard key for shortcuts and hints.SeparatorHorizontal, vertical or labelled divider.AccordionExpanding sections with smooth height animation.