Skip to content
synccn

Status Indicator

New

Pulsing dot and label for presence or system status.

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-indicator

First 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.

  • status
    "online" | "busy" | "away" | "offline" | "info"

    Default "online"

    Colour and default label.

  • label
    React.ReactNode | false

    Custom label, or false to hide it.

  • pulse
    boolean

    Default true

    Animated ring around the dot.

  • size
    "sm" | "default" | "lg"

    Default "default"

    Dot size.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

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