Skip to content
synccn

Tracker

New

Uptime-style row of status bars with tooltips.

API99.96% uptime
60 days agoToday

Installation

$ pnpm dlx shadcn@latest add @synccn/tracker

First time in this project? Connect synccn with one command.

Usage

import { Tracker } from "@/components/ui/data-viz";<Tracker data={days} />

API reference

Generated from the component's TypeScript types, so it always matches the code.

Tracker

Status history as a row of bars (uptime, deploys, check-ins). Hover for details. data: [{ status: "ok" | "warn" | "down" | "none", tooltip }]

  • datarequired
    { status: "ok" | "warn" | "down" | "none"; tooltip: string }[]

    One bar per period, oldest first.

  • className
    string

    Extra classes for the root element.

Dependencies

Read from the component's imports when the site builds. The CLI installs all of these for you.

Helpers

npm packages

Accessibility

From the source

Read from this component's code when the site builds, so it can't drift.

  • ARIA attributes: aria-label