Status Dot

A presence indicator with a soft sonar pulse: online, away, busy, offline.

no dependenciesMIT · free
Aris · OnlineDewi · AwayRaka · In a meetingSari · Offline

Installation

npx shadcn@latest add https://ombakui.com/r/status-dot.json

Usage

import { StatusDot } from "@/components/status-dot";

<StatusDot status="online">Aris · Online</StatusDot>
<StatusDot status="busy" />

Props

PropTypeDefaultDescription
statuskeyof typeof COLORS"online"Which status to show.
pulseboolean–Pulse outward to draw attention. Defaults to true when online
childrenReactNode–Optional text next to the dot. When omitted, the status is still announced to screen readers.
sizenumber10Dot size in px.
classNamestring–