Skip to Content
Kokonut UI

CD-14Cards

Uptime Card

A status page card with 90 days per service that swell under the cursor, and a day you click opens its incident log.

Install with
lucide-react

PROOnboarding Checklist and more like it are in Kokonut UI Pro

Installation

Uptime Card is a free, open-source React component in the Kokonut UI Cards collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/uptime-card.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/uptime-card

Or add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/uptime-card.tsx.

npm install lucide-react

Usage

import UptimeCard from "@/components/kokonutui/uptime-card";

export default function Example() {
  return <UptimeCard />;
}

Props

title
stringDefault "System status"
services
UptimeService[]Default built-in
days
numberDefault 90
endDate
stringDefault "2026-10-14"

The last day shown, as YYYY-MM-DD.

className
string

Extra classes for the root element.

UptimeService

namerequired
string
incidents
Record<number, Incident>

Incidents by day index, 0 being the oldest day shown.

missing
number

Days with no data (before the service existed), from the start.

Incident

titlerequired
string
statusrequired
Exclude<DayStatus, "up" | "none">
minutesrequired
number

Minutes of impact that day.

updatesrequired
IncidentUpdate[]

DayStatus

type DayStatus = "up" | "degraded" | "down" | "none";

IncidentUpdate

timerequired
string

HH:MM, local to the status page.

labelrequired
string
note
string

Dependencies

NeedsVersionComes from
lucide-react^0.556.0npm, installed by the CLI
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

No provider, font or global CSS to set up: the file works as soon as it lands.