39 Pro components and page blocks

Get Pro

Status Dashboard

New

Preview

Customize

All operational
Days90
Updated1min

Usage

import { StatusDashboard } from "@/components/uibrik/status-dashboard/status-dashboard";

<StatusDashboard />

Installation

npx shadcn@latest add https://uibrik.com/r/status-dashboard.json
Adds the files to components/uibrik/status-dashboard and installs @number-flow/react, @tabler/icons-react, motion and react-use-measure. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/status-dashboard.

Props

StatusDashboard
title
Type string
"System status"
Names the page.
days
Type number
90
Most days of uptime history; fewer show in narrow containers.
updatedMinutesAgo
Type number
1
Minutes since the last check.
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.
className
Type string
–
Classes for the root.