Ballmac UI home

Uptime Tracker

New

A status-page row with one cell per day. It leads with the uptime and the outage count, the cells are one tab stop moved with the arrow keys, and the day you are on is written underneath instead of in a tooltip.

v1.0.0Updated Oct 25, 2026Ships with a test
What changed

API

93.33% uptime1 outage day, 3 degraded

60 days agoToday

Website

98.33% uptime1 degraded

60 days agoToday

Background jobs

98.28% uptime1 outage day

60 days agoToday

Installation

$ pnpm dlx shadcn@latest add @ballmac/uptime-tracker

Usage

import { UptimeTracker } from "@/components/ballmac/uptime-tracker"

The full example is in the Code tab above.

Examples

A clean month

Dashboard

100% uptime

30 days agoToday

API reference

PropTypeDefault
days*

Oldest first.

UptimeDay[]—
label*

The service name.

string—
uptime

Overrides the uptime shown. Defaults to the share of days that were up.

number—
startLabel

Text under the left end, for example "90 days ago".

string—
endLabel

Text under the right end. Defaults to "Today".

string—

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
CellsButtons named for the day, the status in words and the note; one tab stop; Left, Right, Home, End move; Escape clears
DetailThe day you are on is text in a live region
StatusNever by color alone: every cell's name says it

Use with AI

days is [{ date, status: 'up'|'degraded'|'down'|'none', note? }] oldest first; label names the service. uptime overrides the computed share of days that were up; startLabel and endLabel caption the ends. Cells are buttons with a name that includes the date, the status and the note; hover or focus writes the day underneath. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Uptime Tracker (@ballmac/uptime-tracker) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • A public or internal status page
  • A reliability section in a dashboard

Not for

  • Minute-level charts; use chart-line
  • Listing incidents; use incident-1

Registry JSON: https://ui.ballmac.com/r/uptime-tracker.json

Credits

Free to use in personal and commercial projects.

npm
None

Ballmac UI Pro

Need the whole screen, not one piece?

150 premium blocks (dashboards, settings, calendars, mail, shops, onboarding), a private shadcn registry and Figma tokens. Blocks that show data come with loading, empty and error states built in.

Not ready? Try three Pro blocks free

Leave your email and the blocks appear right here, ready to copy. Yours to use in any project.