Black Friday: 30% off Pro

Get 30% off

Updated

Status Dashboard

Pro

Preview

Customize

Overview
All operational
Days90
Updated1min

Installation

Pro

Status Dashboard is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Buying? Use the email you'll sign in with. Your license is tied to it.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/status-dashboard

Usage

import { StatusDashboard } from "@/components/uibrik/status-dashboard/status-dashboard";​const regions = [  { name: "US East", code: "iad1", latency: 38, state: "operational" },  { name: "US West", code: "sfo1", latency: 44, state: "operational" },  // …6 more];​const onCall = [  { team: "Platform", name: "Priya Shah", until: "18:00", next: "Leo Park" },  { team: "Data", name: "Sam Okafor", until: "Mon 09:00", next: "Ana Lima" },  // …1 more];​<StatusDashboard  environment="Production"  defaultView="overview"  live  days={90}  updatedMinutesAgo={1}  regions={regions}  onCall={onCall}  onViewChange={(view) => {}}  onReport={(incident) => {}}  onUpdate={(incident) => {}}  onDeploy={(deploy) => {}}  onAlert={(alert) => {}}  onSubscribe={(email) => {}}  // services={[{ name: "…", state: "operational", days: [{ date: "…", state: "operational" }] }]}  // latency={[{ p50: 0, p95: 0 }]}  // incidents={[{ id: "…", title: "…", severity: "minor", services: ["…"], updates: [{ status: "investigating", message: "…", minutesAgo: 0 }] }]}  // deploys={[{ id: "…", service: "…", sha: "…", message: "…", author: "…", minutesAgo: 0, status: "live" }]}  // alerts={[{ id: "…", name: "…", service: "…", condition: "…", channel: "…", severity: "warning", enabled: false, lastFiredMinutesAgo: 0 }]}  // user={{ name: "…", email: "…" }}  // view="overview"/>

Where to use Status Dashboard

  • Status pages

    Overall health with 90-day uptime per service is what customers check during incidents.

    Pairs with Uptime Bar

  • DevOps monitoring

    Live latency and region health give on-call engineers a quick read.

    Pairs with Live Line

  • Incident response

    Report an incident, post updates and resolve it; affected services read as degraded until then.

Props

StatusDashboard
environment
Type string
"Production"
Environment name in the sidebar and breadcrumbs.
defaultView
Type "overview" | "services" | "incidents" | "regions" | "alerts" | "oncall" | "deploys" | "settings"
"overview"
View shown first. Use `view` and `onViewChange` to control it.
live
Type boolean
true
Tick latency, errors and traffic every few seconds while the tab is visible.
days
Type number
90
Most days of uptime history; fewer show in narrow containers.
updatedMinutesAgo
Type number
1
Minutes since the last check, shown while live updates are paused.
services
Type { name: string; state: "operational" | "degraded" | "outage" | "maintenance"; days: { date: string; state: "operational" | "degraded" | "outage" | "none"; downtime?: number; note?: string }[] }[]
–
One row per service with a day of history per entry, oldest first. Downtime is in minutes.
regions
Type { name: string; code: string; latency: number; state: ServiceState }[]
–
Region health tiles. Latency is in ms.
latency
Type { p50: number; p95: number }[]
–
One sample a minute over the last hour, oldest first, in ms.
incidents
Type { id: string; title: string; severity: "minor" | "major" | "critical"; services: string[]; updates: { status: "investigating" | "identified" | "monitoring" | "resolved"; message: string; minutesAgo: number }[] }[]
–
Recent incidents, newest first; each incident's updates are newest first.
deploys
Type { id: string; service: string; sha: string; message: string; author: string; minutesAgo: number; status: "live" | "rolled-back" | "building" }[]
–
Recent deploys, newest first.
alerts
Type { id: string; name: string; service: string; condition: string; channel: string; severity: "warning" | "critical"; enabled: boolean; firing?: boolean; lastFiredMinutesAgo: number | null }[]
–
Alert rules. Each switches on or off; a firing rule can be muted for an hour.
onCall
Type { team: string; name: string; until: string; next?: string; avatar?: string }[]
–
Who is on call now, one row per team.
user
Type { name: string; email: string; avatar?: string }
–
Signed-in person at the foot of the sidebar.
view
Type "overview" | "services" | "regions" | "incidents" | "alerts" | "oncall" | "deploys" | "settings"
–
Current view. Uncontrolled when left out.
onViewChange
Type (view: StatusView) => void
–
Called when the sidebar picks a view.
onReport
Type (incident: Incident) => void
–
Called after an incident is reported here.
onUpdate
Type (incident: Incident) => void
–
Called after an update is posted; a resolved update closes the incident.
onDeploy
Type (deploy: StatusDeploy) => void
–
Called after a deploy is rolled back or redeployed.
onAlert
Type (alert: AlertRule) => void
–
Called after an alert rule is switched or muted.
onSubscribe
Type (email: string) => void
–
Called after someone subscribes by email.
className
Type string
–
Classes for the outer element. It fills its parent's height.