Black Friday: 30% off Pro

Get 30% off

Updated

Uptime Bar

Pro

Preview

Customize

Days90

Installation

Pro

Uptime Bar 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.

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/uptime-bar

Usage

import { UptimeBar } from "@/components/uibrik/uptime-bar/uptime-bar";​<UptimeBar  title="System status"  days={90}  showLegend  // services={[{ name: "…", days: [{ date: "…", status: "operational" }] }]}/>

Where to use Uptime Bar

  • Public status pages

    A tick for every day shows reliability at a glance.

    Pairs with Status Dashboard

  • Service health

    Lifting any day shows what happened during incidents.

  • SLA reports

    A clear history supports uptime commitments.

Props

UptimeBar
title
Type string
"System status"
Names the page.
days
Type number
90
Most days to show; fewer fit on narrow screens.
showLegend
Type boolean
true
Names the four states under the card.
services
Type { name: string; days: { date: string; status: "operational" | "degraded" | "outage" | "none"; note?: string; downtime?: number }[] }[]
–
One row per service, each with one entry per day, oldest first. Downtime is in minutes.
className
Type string
–
Classes for the outer shell.