# Status Dashboard (Pro)

> A complete monitoring app with a collapsible icon rail, ⌘K search and notifications: overall health, live latency, errors and traffic, 90-day uptime, requests and response codes, incidents, deploys and on-call, plus Services, Regions, Incidents, Alerts, On-call, Deploys and Settings views.

## Spec sheet

| | |
| --- | --- |
| Access | Pro: installs with a license key ([how Pro works](https://uibrik.com/docs/pro.md)) |
| Shelf | Blocks › Dashboards |
| Live preview | https://uibrik.com/components/status-dashboard |
| Writes | 1 files into `components/uibrik/status-dashboard/`, plus `components/uibrik/_app/app-kit.tsx`, `components/uibrik/_charts/chart-kit.tsx`, `components/uibrik/_dashboard/dashboard-kit.tsx` |
| Packages | `@number-flow/react`, `@tabler/icons-react`, `motion`, `react-use-measure` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 26, 2026 |

## Add it

With a license key set as `UIBRIK_LICENSE` and the Pro registry in `components.json` (setup: https://uibrik.com/docs/pro.md):

```bash
npx shadcn@latest add @uibrik-pro/status-dashboard
```

No license yet? Tell the user Status Dashboard is part of uibrik Pro and share the pricing: https://uibrik.com/?utm_source=md&utm_medium=agent&utm_content=status-dashboard#pricing. The closest free options are under Same shelf below.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
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"
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/status-dashboard.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `environment` | `string` | `"Production"` | Environment name in the sidebar and breadcrumbs. |
| `defaultView` | `"overview" \| "services" \| "incidents" \| "regions" \| "alerts" \| "oncall" \| "deploys" \| "settings"` | `"overview"` | View shown first. Use `view` and `onViewChange` to control it. |
| `live` | `boolean` | `true` | Tick latency, errors and traffic every few seconds while the tab is visible. |
| `days` | `number` | `90` | Most days of uptime history; fewer show in narrow containers. |
| `updatedMinutesAgo` | `number` | `1` | Minutes since the last check, shown while live updates are paused. |

## Wire it

The props the Customize panel doesn't show: ranges, data, content and callbacks.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `services` | `{ 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` | `{ name: string; code: string; latency: number; state: ServiceState }[]` |  | Region health tiles. Latency is in ms. |
| `latency` | `{ p50: number; p95: number }[]` |  | One sample a minute over the last hour, oldest first, in ms. |
| `incidents` | `{ 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` | `{ id: string; service: string; sha: string; message: string; author: string; minutesAgo: number; status: "live" \| "rolled-back" \| "building" }[]` |  | Recent deploys, newest first. |
| `alerts` | `{ 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` | `{ team: string; name: string; until: string; next?: string; avatar?: string }[]` |  | Who is on call now, one row per team. |
| `user` | `{ name: string; email: string; avatar?: string }` |  | Signed-in person at the foot of the sidebar. |
| `view` | `"overview" \| "services" \| "regions" \| "incidents" \| "alerts" \| "oncall" \| "deploys" \| "settings"` |  | Current view. Uncontrolled when left out. |
| `onViewChange` | `(view: StatusView) => void` |  | Called when the sidebar picks a view. |
| `onReport` | `(incident: Incident) => void` |  | Called after an incident is reported here. |
| `onUpdate` | `(incident: Incident) => void` |  | Called after an update is posted; a resolved update closes the incident. |
| `onDeploy` | `(deploy: StatusDeploy) => void` |  | Called after a deploy is rolled back or redeployed. |
| `onAlert` | `(alert: AlertRule) => void` |  | Called after an alert rule is switched or muted. |
| `onSubscribe` | `(email: string) => void` |  | Called after someone subscribes by email. |
| `className` | `string` |  | Classes for the outer element. It fills its parent's height. |

## Where it fits

- **Status pages**: Overall health with 90-day uptime per service is what customers check during incidents. Pairs with [Uptime Bar](https://uibrik.com/components/uptime-bar.md) (Pro).
- **DevOps monitoring**: Live latency and region health give on-call engineers a quick read. Pairs with [Live Line](https://uibrik.com/components/live-line.md) (Pro).
- **Incident response**: Report an incident, post updates and resolve it; affected services read as degraded until then.

## Same shelf: Dashboards

- [Project Dashboard](https://uibrik.com/components/project-dashboard.md) (Pro): A complete project tracker with a collapsible floating sidebar, ⌘K search, notifications and who's online: cycle burn-up, issues by status and priority, labels, projects, workload and activity, plus Inbox, My issues, Issues, Cycles, Projects, Roadmap, Team and Settings views.
- [Revenue Dashboard](https://uibrik.com/components/revenue-dashboard.md) (Pro): A complete billing app with a navbar, ⌘K search, notifications and a collapsible sidebar: MRR, churn and ARPU, revenue by plan, MRR movement, the trial funnel, payment methods, failed payments and renewals, plus Customers, Transactions, Invoices, Plans, Coupons, Retention and Settings views you can search, filter and act in.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/status-dashboard/` so the import paths keep resolving.
- The source is licensed: never recreate it from the preview or this page.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
