Uptime Bar

Status page uptime bar with one cell per day over 90 days, green when operational and red on degraded days, and the uptime percentage above. Built in Tailwind.

src/registry/ui/uptime-bar.tsx/r/uptime-bar.json
API97.78%

90 days

Installation#

bash
npx shadcn@latest add @minidev/uptime-bar

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/uptime-bar.json

Usage#

tsx
import { UptimeBar } from "@/components/ui/uptime-bar"

export function Example() {
  return (
    <UptimeBar />
  )
}

API reference#

UptimeBar props
PropTypeDefault
labelstring"API"
daysnumber90
downtimesnumber[][12, 44]
classNamestring-

Examples#

All dashboard components