Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Charts & Stats

Tracker

Charts & Stats

Tracker React chart component for Tailwind CSS v4

Stat CardTrend badge
Live props
Content
label
summary
locale
description
Appearance
size
radius
gap2px
Layout
fit
minBlockWidth4px
showCaptions
showLegend
Behavior
showTooltip
tooltipMode
animated
State
loading
Code
import { Tracker } from "@/components/ui/tracker"

<Tracker />
  1. Home
  2. Components
  3. Charts & Stats
  4. Tracker
Pro

Tracker React chart component for Tailwind CSS v4

v1.0.0·Added in 1.0.0

A React status tracker: a row of status blocks over time, one per day, hour or deploy, for uptime pages, sync health and habit streaks.

The first time the tracker scrolls into view its blocks rise from the bottom in one quick left-to-right sweep. Hover a block for a readout above the bar with its date, status and note; the block lifts and the others fade back (the nearest block answers, so thin blocks and gaps never flicker). Click a block to fire onBlockClick. On a phone the whole bar is the target: a tap pins the readout above it, a sideways drag scrubs through the days while a vertical drag still scrolls the page, a second tap on the same block opens it and a tap outside clears the readout. On narrow screens fit="latest" keeps only the newest blocks that fit and the start caption follows. With the keyboard, Tab lands on the bar (the newest block), Left / Right walk the blocks, Home / End jump to the ends, PageUp / PageDown move by ten, Enter or Space fire onBlockClick and Escape clears; a polite live region reads each block ("Degraded on August 14, 2026: Slow responses from the portal"). Screen readers get a summary of the counts per status and a table of every block. When a sliding window gains a block, the row glides one slot left and the new block rises in; status changes crossfade.

Tracker is a Pro React chart component in the React chart and stat components category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add tracker, together with Chart kit, Date utils, useLocale, Motion presets, Tones and 1 more and the npm package motion.

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add tracker

Tracker is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans

Usage

Import Tracker from @/components/ui/tracker.

import { Tracker, type TrackerDatum } from "@/components/ui/tracker"

const data: TrackerDatum[] = [
  { date: "2026-09-18", status: "ok" },
  { date: "2026-09-19", status: "degraded", description: "Higher response times" },
  { date: "2026-09-20", status: "ok" },
  { date: "2026-09-21", status: "ok" },
  { date: "2026-09-22", status: "ok" },
  { date: "2026-09-23", status: "ok" },
  { date: "2026-09-24", status: "ok" },
]

export function EinvoicingStatus() {
  return (
    <Tracker
      data={data}
      label="Tax e-invoicing sync"
      summary="99.82%"
      locale="en-US"
      statuses={{
        ok: { label: "Operational", tone: "success" },
        degraded: { label: "Degraded", tone: "warning" },
        down: { label: "Down", tone: "danger" },
      }}
      onBlockClick={(datum) => console.log(datum.date)}
    />
  )
}

Props

  • data*
    TrackerDatum[] = { id?: string; date?: string; status: string; label?: ReactNode; description?: ReactNode }[]

    One entry per block, oldest first. date is an iso day or date-time (the tooltip title and captions), label replaces the date as the title ("Deploy #482"), description is the note under the status. id (or the date) keys the update animations.

  • statuses
    Record<string, { label: string; tone?: Tone; color?: string }>

    Merged over the defaults key by key: ok (success, "Operational"), degraded (warning, "Degraded"), down (danger, "Outage"), maintenance (info, "Maintenance") and none (foreground at 10%, "No data"). Overriding only a label keeps the default tone and color ({ none: { label: "No data" } }). color takes any CSS color, a palette slot ("series-3") or a tone name and wins over tone. Your own keys come first in the legend. Unknown keys draw as none with a dev warning.

  • labeldefault ""
    ReactNode

    The title at the start of the header; also names the figure for screen readers.

  • summarydefault ""
    ReactNode

    The figure at the end of the header, e.g. the uptime.

  • sizedefault "md"
    "sm" | "md" | "lg"

    Block height: 24 / 32 / 40px. On touch screens the tap target grows to at least 44px either way.

  • radiusdefault "sm"
    "none" | "sm" | "md" | "full"

    Block corners: 0 / 2 / 3px, or pills.

  • gapdefault 2
    number

    Pixels between blocks. With fit="all" it shrinks when the blocks would not fit otherwise.

  • fitdefault "latest"
    "latest" | "all"

    latest: blocks keep minBlockWidth and the oldest drop off on narrow screens (the start caption follows). all: every block squeezes, down to 1px.

  • minBlockWidthdefault 4
    number

    The narrowest a block gets with fit="latest", in px.

  • showCaptionsdefault true
    boolean

    Start and end captions under the bar ("90 days ago", "Today"), from labels.start and labels.end.

  • showLegenddefault false
    boolean

    The statuses present in the shown blocks, as keys with labels.

  • showTooltipdefault true
    boolean

    The readout on hover, tap and keyboard. The live region and the table still carry every block when off.

  • tooltipModedefault "fixed"
    "auto" | "float" | "fixed"

    fixed pins the readout above the bar, centered on the block; float rides beside it; auto floats with a mouse and pins on touch.

  • onBlockClick
    (datum: TrackerDatum, index: number) => void

    A click, a second tap on a pinned block, or Enter / Space on the inspected block. index is the position in data.

  • localedefault ""
    string

    Locale for the dates. Empty uses the UIProvider / LocaleProvider locale.

  • animateddefault true
    boolean

    The sweep on first view and the slide when blocks are appended. Reduced motion always shows the final state.

  • loadingdefault false
    boolean

    A pulsing skeleton in the bar's shape, plus the summary and captions.

  • emptyState
    ReactNode

    Replaces the bar when data is empty. Default: the kit's empty state with labels.empty.

  • descriptiondefault ""
    string

    A one-sentence takeaway for screen readers, read before the counts per status.

  • labels
    Partial<TrackerLabels>

    Strings: start(count, first), end (string or (last) => string), block(status, date), summary(counts, total), table, date, status, note, loading, empty, inspectHint. English by default ("90 days ago", "Today", "Degraded on 14 August 2026").

  • classNames
    Partial<Record<TrackerSlot, string>>

    Classes for header, label, summary, bar, block, footer, legend, tooltip and table.

Parts

  • DEFAULT_TRACKER_STATUSES

    constant

    The built-in statuses that statuses merges over: ok ("Operational", success), degraded ("Degraded", warning), down ("Outage", danger), maintenance ("Maintenance", info) and none ("No data", foreground at 10%).

  • DEFAULT_TRACKER_LABELS

    constant

    The English strings: start ("90 days ago"), end ("Today"), block ("Degraded on" plus the date), summary, table, date, status, note, loading, empty and inspectHint. Spread it into labels to translate a few.

  • TrackerDatum

    type

    One block: { id?, date?, status, label?, description? }. status is a key of statuses; label replaces the date in the tooltip ("Deploy #482").

  • TrackerStatus

    type

    One status: { label, tone?, color? }. color takes any CSS color, a palette slot or a tone name and wins over tone.

  • TrackerLabels

    type

    The shape of the labels object, with start, end, block and summary as functions.

Examples

Status page

Three integrations, each with its uptime.

Deliveries with a legend

Custom statuses, size lg and showLegend.

Sizes, radii and gaps

A habit streak in neutral ink, down to pill blocks.

Hourly

24 blocks for today with hour captions and tooltip titles.

Fit on a phone

fit="latest" vs fit="all" in 360px frames.

Live updates

A sliding window of deploys with onBlockClick.

Loading and empty

The bar-shaped skeleton and the empty state.

Dependencies

motionchart-kitdate-utilsuse-localemotiontonesui-config

Files

  • components/ui/tracker.tsx

FAQ

Is the React Tracker chart component free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Tracker?

Run npx wingo-ui@latest add tracker. It also adds the Wingo UI items it builds on (Chart kit, Date utils, useLocale, Motion presets, Tones and 1 more) and the npm package motion. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/tracker.

How does Tracker behave on phones?

On a phone the whole bar is the target: a tap pins the readout above it, a sideways drag scrubs through the days while a vertical drag still scrolls the page, a second tap on the same block opens it and a tap outside clears the readout.

See also

Status PageHeatmap calendarGitHub ActivitySparklineChart kitlib

Used in

Automation Builder PageError PagesDevelopers PageSecurity PageStatus Page

More React chart and stat components

Stat CardLeaderboardArea chartBar chartDonut chartFunnel chart
All 16 React chart and stat components

Articles using this component

  • Nextjs Status Page: 90-Day Uptime Bars and Incidents

    Build it: screens and apps · Oct 16, 2026 · 12 min read

PreviousStat CardNext Trend badge

Integration status

Northwind CRM · daily checks through Sep 24, 2026

Operational: 86 days, Degraded: 3 days, Down: 1 day
Tax e-invoicing sync99.82%
90 days agoToday
Tax e-invoicing sync
DateStatusDetails
June 27, 2026OperationalEvery invoice synced
June 28, 2026OperationalEvery invoice synced
June 29, 2026OperationalEvery invoice synced
June 30, 2026OperationalEvery invoice synced
July 1, 2026OperationalEvery invoice synced
July 2, 2026OperationalEvery invoice synced
July 3, 2026OperationalEvery invoice synced
July 4, 2026OperationalEvery invoice synced
July 5, 2026OperationalEvery invoice synced
July 6, 2026OperationalEvery invoice synced
July 7, 2026OperationalEvery invoice synced
July 8, 2026OperationalEvery invoice synced
July 9, 2026OperationalEvery invoice synced
July 10, 2026OperationalEvery invoice synced
July 11, 2026OperationalEvery invoice synced
July 12, 2026OperationalEvery invoice synced
July 13, 2026OperationalEvery invoice synced
July 14, 2026OperationalEvery invoice synced
July 15, 2026OperationalEvery invoice synced
July 16, 2026OperationalEvery invoice synced
July 17, 2026OperationalEvery invoice synced
July 18, 2026OperationalEvery invoice synced
July 19, 2026OperationalEvery invoice synced
July 20, 2026OperationalEvery invoice synced
July 21, 2026OperationalEvery invoice synced
July 22, 2026OperationalEvery invoice synced
July 23, 2026OperationalEvery invoice synced
July 24, 2026OperationalEvery invoice synced
July 25, 2026OperationalEvery invoice synced
July 26, 2026OperationalEvery invoice synced
July 27, 2026OperationalEvery invoice synced
July 28, 2026OperationalEvery invoice synced
July 29, 2026OperationalEvery invoice synced
July 30, 2026OperationalEvery invoice synced
July 31, 2026OperationalEvery invoice synced
August 1, 2026OperationalEvery invoice synced
August 2, 2026OperationalEvery invoice synced
August 3, 2026OperationalEvery invoice synced
August 4, 2026OperationalEvery invoice synced
August 5, 2026OperationalEvery invoice synced
August 6, 2026OperationalEvery invoice synced
August 7, 2026OperationalEvery invoice synced
August 8, 2026OperationalEvery invoice synced
August 9, 2026OperationalEvery invoice synced
August 10, 2026OperationalEvery invoice synced
August 11, 2026OperationalEvery invoice synced
August 12, 2026OperationalEvery invoice synced
August 13, 2026OperationalEvery invoice synced
August 14, 2026DegradedSlow responses from the portal
August 15, 2026OperationalEvery invoice synced
August 16, 2026OperationalEvery invoice synced
August 17, 2026OperationalEvery invoice synced
August 18, 2026OperationalEvery invoice synced
August 19, 2026OperationalEvery invoice synced
August 20, 2026OperationalEvery invoice synced
August 21, 2026OperationalEvery invoice synced
August 22, 2026OperationalEvery invoice synced
August 23, 2026OperationalEvery invoice synced
August 24, 2026OperationalEvery invoice synced
August 25, 2026OperationalEvery invoice synced
August 26, 2026OperationalEvery invoice synced
August 27, 2026OperationalEvery invoice synced
August 28, 2026OperationalEvery invoice synced
August 29, 2026OperationalEvery invoice synced
August 30, 2026OperationalEvery invoice synced
August 31, 2026OperationalEvery invoice synced
September 1, 2026OperationalEvery invoice synced
September 2, 2026DownDown for 40 min
September 3, 2026DegradedCatching up on delayed invoices
September 4, 2026OperationalEvery invoice synced
September 5, 2026OperationalEvery invoice synced
September 6, 2026OperationalEvery invoice synced
September 7, 2026OperationalEvery invoice synced
September 8, 2026OperationalEvery invoice synced
September 9, 2026OperationalEvery invoice synced
September 10, 2026OperationalEvery invoice synced
September 11, 2026OperationalEvery invoice synced
September 12, 2026OperationalEvery invoice synced
September 13, 2026OperationalEvery invoice synced
September 14, 2026OperationalEvery invoice synced
September 15, 2026OperationalEvery invoice synced
September 16, 2026OperationalEvery invoice synced
September 17, 2026OperationalEvery invoice synced
September 18, 2026OperationalEvery invoice synced
September 19, 2026DegradedHigher response times
September 20, 2026OperationalEvery invoice synced
September 21, 2026OperationalEvery invoice synced
September 22, 2026OperationalEvery invoice synced
September 23, 2026OperationalEvery invoice synced
September 24, 2026OperationalEvery invoice synced
Pick a day for details: click, Enter, or double-tap on a phone.

fit: latest · tooltip: fixed · sweep: on · picked: null