A value per day over months, as a grid of weeks by weekdays in five levels of one colour.
| Value | |
|---|---|
| Mon, Nov 17, 2025 | 12 deploys |
| Tue, Nov 18, 2025 | 1 deploy |
| Wed, Nov 19, 2025 | 4 deploys |
| Thu, Nov 20, 2025 | 8 deploys |
| Fri, Nov 21, 2025 | 4 deploys |
| Sat, Nov 22, 2025 | 0 deploys |
| Sun, Nov 23, 2025 | 0 deploys |
| Mon, Nov 24, 2025 | 1 deploy |
| Tue, Nov 25, 2025 | 7 deploys |
| Wed, Nov 26, 2025 | 0 deploys |
| Thu, Nov 27, 2025 | 3 deploys |
| Fri, Nov 28, 2025 | 0 deploys |
| Sat, Nov 29, 2025 | 0 deploys |
| Sun, Nov 30, 2025 | 1 deploy |
| Mon, Dec 1, 2025 | 0 deploys |
| Tue, Dec 2, 2025 | 6 deploys |
| Wed, Dec 3, 2025 | 12 deploys |
| Thu, Dec 4, 2025 | 0 deploys |
| Fri, Dec 5, 2025 | 2 deploys |
| Sat, Dec 6, 2025 | 0 deploys |
| Sun, Dec 7, 2025 | 0 deploys |
| Mon, Dec 8, 2025 | 1 deploy |
| Tue, Dec 9, 2025 | 1 deploy |
| Wed, Dec 10, 2025 | 0 deploys |
| Thu, Dec 11, 2025 | 7 deploys |
| Fri, Dec 12, 2025 | 0 deploys |
| Sat, Dec 13, 2025 | 0 deploys |
| Sun, Dec 14, 2025 | 0 deploys |
| Mon, Dec 15, 2025 | 2 deploys |
| Tue, Dec 16, 2025 | 12 deploys |
| Wed, Dec 17, 2025 | 2 deploys |
| Thu, Dec 18, 2025 | 6 deploys |
| Fri, Dec 19, 2025 | 0 deploys |
| Sat, Dec 20, 2025 | 0 deploys |
| Sun, Dec 21, 2025 | 1 deploy |
| Mon, Dec 22, 2025 | 2 deploys |
| Tue, Dec 23, 2025 | 0 deploys |
| Wed, Dec 24, 2025 | 0 deploys |
| Thu, Dec 25, 2025 | 0 deploys |
| Fri, Dec 26, 2025 | 0 deploys |
| Sat, Dec 27, 2025 | 0 deploys |
| Sun, Dec 28, 2025 | 0 deploys |
| Mon, Dec 29, 2025 | 0 deploys |
| Tue, Dec 30, 2025 | 0 deploys |
| Wed, Dec 31, 2025 | 0 deploys |
| Thu, Jan 1, 2026 | 0 deploys |
| Fri, Jan 2, 2026 | 0 deploys |
| Sat, Jan 3, 2026 | 0 deploys |
| Sun, Jan 4, 2026 | 0 deploys |
| Mon, Jan 5, 2026 | 0 deploys |
| Tue, Jan 6, 2026 | 7 deploys |
| Wed, Jan 7, 2026 | 5 deploys |
| Thu, Jan 8, 2026 | 2 deploys |
| Fri, Jan 9, 2026 | 9 deploys |
| Sat, Jan 10, 2026 | 0 deploys |
| Sun, Jan 11, 2026 | 3 deploys |
| Mon, Jan 12, 2026 | 2 deploys |
| Tue, Jan 13, 2026 | 0 deploys |
| Wed, Jan 14, 2026 | 0 deploys |
| Thu, Jan 15, 2026 | 6 deploys |
| Fri, Jan 16, 2026 | 3 deploys |
| Sat, Jan 17, 2026 | 0 deploys |
| Sun, Jan 18, 2026 | 3 deploys |
| Mon, Jan 19, 2026 | 0 deploys |
| Tue, Jan 20, 2026 | 0 deploys |
| Wed, Jan 21, 2026 | 0 deploys |
| Thu, Jan 22, 2026 | 0 deploys |
| Fri, Jan 23, 2026 | 1 deploy |
| Sat, Jan 24, 2026 | 0 deploys |
| Sun, Jan 25, 2026 | 0 deploys |
| Mon, Jan 26, 2026 | 1 deploy |
| Tue, Jan 27, 2026 | 3 deploys |
| Wed, Jan 28, 2026 | 1 deploy |
| Thu, Jan 29, 2026 | 0 deploys |
| Fri, Jan 30, 2026 | 2 deploys |
| Sat, Jan 31, 2026 | 0 deploys |
| Sun, Feb 1, 2026 | 1 deploy |
| Mon, Feb 2, 2026 | 12 deploys |
| Tue, Feb 3, 2026 | 12 deploys |
| Wed, Feb 4, 2026 | 11 deploys |
| Thu, Feb 5, 2026 | 13 deploys |
| Fri, Feb 6, 2026 | 6 deploys |
| Sat, Feb 7, 2026 | 0 deploys |
| Sun, Feb 8, 2026 | 0 deploys |
| Mon, Feb 9, 2026 | 0 deploys |
| Tue, Feb 10, 2026 | 7 deploys |
| Wed, Feb 11, 2026 | 3 deploys |
| Thu, Feb 12, 2026 | 0 deploys |
| Fri, Feb 13, 2026 | 0 deploys |
| Sat, Feb 14, 2026 | 2 deploys |
| Sun, Feb 15, 2026 | 0 deploys |
| Mon, Feb 16, 2026 | 11 deploys |
| Tue, Feb 17, 2026 | 0 deploys |
| Wed, Feb 18, 2026 | 0 deploys |
| Thu, Feb 19, 2026 | 0 deploys |
| Fri, Feb 20, 2026 | 2 deploys |
| Sat, Feb 21, 2026 | 2 deploys |
| Sun, Feb 22, 2026 | 0 deploys |
| Mon, Feb 23, 2026 | 1 deploy |
| Tue, Feb 24, 2026 | 11 deploys |
| Wed, Feb 25, 2026 | 2 deploys |
| Thu, Feb 26, 2026 | 8 deploys |
| Fri, Feb 27, 2026 | 7 deploys |
| Sat, Feb 28, 2026 | 0 deploys |
| Sun, Mar 1, 2026 | 0 deploys |
| Mon, Mar 2, 2026 | 0 deploys |
| Tue, Mar 3, 2026 | 0 deploys |
| Wed, Mar 4, 2026 | 11 deploys |
| Thu, Mar 5, 2026 | 0 deploys |
| Fri, Mar 6, 2026 | 6 deploys |
| Sat, Mar 7, 2026 | 1 deploy |
| Sun, Mar 8, 2026 | 0 deploys |
| Mon, Mar 9, 2026 | 13 deploys |
| Tue, Mar 10, 2026 | 0 deploys |
| Wed, Mar 11, 2026 | 0 deploys |
| Thu, Mar 12, 2026 | 4 deploys |
| Fri, Mar 13, 2026 | 4 deploys |
| Sat, Mar 14, 2026 | 0 deploys |
| Sun, Mar 15, 2026 | 0 deploys |
| Mon, Mar 16, 2026 | 0 deploys |
| Tue, Mar 17, 2026 | 4 deploys |
| Wed, Mar 18, 2026 | 7 deploys |
| Thu, Mar 19, 2026 | 1 deploy |
| Fri, Mar 20, 2026 | 3 deploys |
| Sat, Mar 21, 2026 | 2 deploys |
| Sun, Mar 22, 2026 | 0 deploys |
| Mon, Mar 23, 2026 | 0 deploys |
| Tue, Mar 24, 2026 | 0 deploys |
| Wed, Mar 25, 2026 | 13 deploys |
| Thu, Mar 26, 2026 | 8 deploys |
| Fri, Mar 27, 2026 | 7 deploys |
| Sat, Mar 28, 2026 | 0 deploys |
| Sun, Mar 29, 2026 | 0 deploys |
| Mon, Mar 30, 2026 | 0 deploys |
| Tue, Mar 31, 2026 | 0 deploys |
| Wed, Apr 1, 2026 | 13 deploys |
| Thu, Apr 2, 2026 | 0 deploys |
| Fri, Apr 3, 2026 | 6 deploys |
| Sat, Apr 4, 2026 | 1 deploy |
| Sun, Apr 5, 2026 | 0 deploys |
| Mon, Apr 6, 2026 | 6 deploys |
| Tue, Apr 7, 2026 | 2 deploys |
| Wed, Apr 8, 2026 | 0 deploys |
| Thu, Apr 9, 2026 | 9 deploys |
| Fri, Apr 10, 2026 | 0 deploys |
| Sat, Apr 11, 2026 | 3 deploys |
| Sun, Apr 12, 2026 | 0 deploys |
| Mon, Apr 13, 2026 | 1 deploy |
| Tue, Apr 14, 2026 | 0 deploys |
| Wed, Apr 15, 2026 | 1 deploy |
| Thu, Apr 16, 2026 | 4 deploys |
| Fri, Apr 17, 2026 | 14 deploys |
| Sat, Apr 18, 2026 | 1 deploy |
| Sun, Apr 19, 2026 | 0 deploys |
| Mon, Apr 20, 2026 | 0 deploys |
| Tue, Apr 21, 2026 | 0 deploys |
| Wed, Apr 22, 2026 | 12 deploys |
| Thu, Apr 23, 2026 | 8 deploys |
| Fri, Apr 24, 2026 | 10 deploys |
| Sat, Apr 25, 2026 | 0 deploys |
| Sun, Apr 26, 2026 | 0 deploys |
| Mon, Apr 27, 2026 | 5 deploys |
| Tue, Apr 28, 2026 | 2 deploys |
| Wed, Apr 29, 2026 | 3 deploys |
| Thu, Apr 30, 2026 | 7 deploys |
| Fri, May 1, 2026 | 6 deploys |
| Sat, May 2, 2026 | 0 deploys |
| Sun, May 3, 2026 | 0 deploys |
| Mon, May 4, 2026 | 14 deploys |
| Tue, May 5, 2026 | 3 deploys |
| Wed, May 6, 2026 | 0 deploys |
| Thu, May 7, 2026 | 0 deploys |
| Fri, May 8, 2026 | 0 deploys |
| Sat, May 9, 2026 | 0 deploys |
| Sun, May 10, 2026 | 0 deploys |
| Mon, May 11, 2026 | 8 deploys |
| Tue, May 12, 2026 | 0 deploys |
| Wed, May 13, 2026 | 1 deploy |
| Thu, May 14, 2026 | 9 deploys |
| Fri, May 15, 2026 | 12 deploys |
| Sat, May 16, 2026 | 0 deploys |
| Sun, May 17, 2026 | 0 deploys |
| Mon, May 18, 2026 | 4 deploys |
| Tue, May 19, 2026 | 11 deploys |
| Wed, May 20, 2026 | 11 deploys |
| Thu, May 21, 2026 | 7 deploys |
| Fri, May 22, 2026 | 2 deploys |
| Sat, May 23, 2026 | 1 deploy |
| Sun, May 24, 2026 | 3 deploys |
| Mon, May 25, 2026 | 2 deploys |
| Tue, May 26, 2026 | 11 deploys |
| Wed, May 27, 2026 | 1 deploy |
| Thu, May 28, 2026 | 0 deploys |
| Fri, May 29, 2026 | 0 deploys |
| Sat, May 30, 2026 | 0 deploys |
| Sun, May 31, 2026 | 2 deploys |
| Mon, Jun 1, 2026 | 0 deploys |
| Tue, Jun 2, 2026 | 1 deploy |
| Wed, Jun 3, 2026 | 0 deploys |
| Thu, Jun 4, 2026 | 0 deploys |
| Fri, Jun 5, 2026 | 5 deploys |
| Sat, Jun 6, 2026 | 3 deploys |
| Sun, Jun 7, 2026 | 0 deploys |
| Mon, Jun 8, 2026 | 0 deploys |
| Tue, Jun 9, 2026 | 7 deploys |
| Wed, Jun 10, 2026 | 0 deploys |
| Thu, Jun 11, 2026 | 5 deploys |
| Fri, Jun 12, 2026 | 7 deploys |
| Sat, Jun 13, 2026 | 0 deploys |
| Sun, Jun 14, 2026 | 0 deploys |
| Mon, Jun 15, 2026 | 0 deploys |
| Tue, Jun 16, 2026 | 1 deploy |
| Wed, Jun 17, 2026 | 1 deploy |
| Thu, Jun 18, 2026 | 5 deploys |
| Fri, Jun 19, 2026 | 9 deploys |
| Sat, Jun 20, 2026 | 3 deploys |
| Sun, Jun 21, 2026 | 2 deploys |
| Mon, Jun 22, 2026 | 9 deploys |
| Tue, Jun 23, 2026 | 9 deploys |
| Wed, Jun 24, 2026 | 12 deploys |
| Thu, Jun 25, 2026 | 9 deploys |
| Fri, Jun 26, 2026 | 11 deploys |
| Sat, Jun 27, 2026 | 0 deploys |
| Sun, Jun 28, 2026 | 0 deploys |
| Mon, Jun 29, 2026 | 0 deploys |
| Tue, Jun 30, 2026 | 0 deploys |
| Wed, Jul 1, 2026 | 7 deploys |
| Thu, Jul 2, 2026 | 0 deploys |
| Fri, Jul 3, 2026 | 0 deploys |
| Sat, Jul 4, 2026 | 0 deploys |
| Sun, Jul 5, 2026 | 0 deploys |
| Mon, Jul 6, 2026 | 12 deploys |
| Tue, Jul 7, 2026 | 0 deploys |
| Wed, Jul 8, 2026 | 0 deploys |
| Thu, Jul 9, 2026 | 1 deploy |
| Fri, Jul 10, 2026 | 3 deploys |
| Sat, Jul 11, 2026 | 0 deploys |
| Sun, Jul 12, 2026 | 0 deploys |
| Mon, Jul 13, 2026 | 1 deploy |
| Tue, Jul 14, 2026 | 0 deploys |
| Wed, Jul 15, 2026 | 6 deploys |
| Thu, Jul 16, 2026 | 9 deploys |
| Fri, Jul 17, 2026 | 4 deploys |
| Sat, Jul 18, 2026 | 0 deploys |
| Sun, Jul 19, 2026 | 0 deploys |
| Mon, Jul 20, 2026 | 13 deploys |
| Tue, Jul 21, 2026 | 13 deploys |
| Wed, Jul 22, 2026 | 5 deploys |
| Thu, Jul 23, 2026 | 0 deploys |
| Fri, Jul 24, 2026 | 7 deploys |
| Sat, Jul 25, 2026 | 0 deploys |
| Sun, Jul 26, 2026 | 0 deploys |
| Mon, Jul 27, 2026 | 2 deploys |
| Tue, Jul 28, 2026 | 0 deploys |
| Wed, Jul 29, 2026 | 0 deploys |
| Thu, Jul 30, 2026 | 2 deploys |
| Fri, Jul 31, 2026 | 6 deploys |
| Sat, Aug 1, 2026 | 0 deploys |
| Sun, Aug 2, 2026 | 3 deploys |
| Mon, Aug 3, 2026 | 0 deploys |
| Tue, Aug 4, 2026 | 8 deploys |
| Wed, Aug 5, 2026 | 2 deploys |
| Thu, Aug 6, 2026 | 0 deploys |
| Fri, Aug 7, 2026 | 0 deploys |
| Sat, Aug 8, 2026 | 0 deploys |
| Sun, Aug 9, 2026 | 2 deploys |
| Mon, Aug 10, 2026 | 0 deploys |
| Tue, Aug 11, 2026 | 8 deploys |
| Wed, Aug 12, 2026 | 1 deploy |
| Thu, Aug 13, 2026 | 0 deploys |
| Fri, Aug 14, 2026 | 1 deploy |
| Sat, Aug 15, 2026 | 0 deploys |
| Sun, Aug 16, 2026 | 0 deploys |
| Mon, Aug 17, 2026 | 11 deploys |
| Tue, Aug 18, 2026 | 0 deploys |
| Wed, Aug 19, 2026 | 3 deploys |
| Thu, Aug 20, 2026 | 0 deploys |
| Fri, Aug 21, 2026 | 9 deploys |
| Sat, Aug 22, 2026 | 0 deploys |
| Sun, Aug 23, 2026 | 0 deploys |
| Mon, Aug 24, 2026 | 1 deploy |
| Tue, Aug 25, 2026 | 1 deploy |
| Wed, Aug 26, 2026 | 0 deploys |
| Thu, Aug 27, 2026 | 10 deploys |
| Fri, Aug 28, 2026 | 9 deploys |
| Sat, Aug 29, 2026 | 0 deploys |
| Sun, Aug 30, 2026 | 0 deploys |
| Mon, Aug 31, 2026 | 0 deploys |
| Tue, Sep 1, 2026 | 1 deploy |
| Wed, Sep 2, 2026 | 5 deploys |
| Thu, Sep 3, 2026 | 6 deploys |
| Fri, Sep 4, 2026 | 0 deploys |
| Sat, Sep 5, 2026 | 0 deploys |
| Sun, Sep 6, 2026 | 0 deploys |
| Mon, Sep 7, 2026 | 4 deploys |
| Tue, Sep 8, 2026 | 2 deploys |
| Wed, Sep 9, 2026 | 8 deploys |
| Thu, Sep 10, 2026 | 2 deploys |
| Fri, Sep 11, 2026 | 1 deploy |
| Sat, Sep 12, 2026 | 0 deploys |
| Sun, Sep 13, 2026 | 0 deploys |
| Mon, Sep 14, 2026 | 1 deploy |
| Tue, Sep 15, 2026 | 4 deploys |
| Wed, Sep 16, 2026 | 0 deploys |
| Thu, Sep 17, 2026 | 1 deploy |
| Fri, Sep 18, 2026 | 5 deploys |
| Sat, Sep 19, 2026 | 0 deploys |
| Sun, Sep 20, 2026 | 0 deploys |
| Mon, Sep 21, 2026 | 1 deploy |
| Tue, Sep 22, 2026 | 2 deploys |
| Wed, Sep 23, 2026 | 11 deploys |
| Thu, Sep 24, 2026 | 2 deploys |
| Fri, Sep 25, 2026 | 2 deploys |
| Sat, Sep 26, 2026 | 0 deploys |
| Sun, Sep 27, 2026 | 1 deploy |
| Mon, Sep 28, 2026 | 0 deploys |
| Tue, Sep 29, 2026 | 2 deploys |
| Wed, Sep 30, 2026 | 0 deploys |
| Thu, Oct 1, 2026 | 1 deploy |
| Fri, Oct 2, 2026 | 0 deploys |
| Sat, Oct 3, 2026 | 1 deploy |
| Sun, Oct 4, 2026 | 1 deploy |
| Mon, Oct 5, 2026 | 8 deploys |
| Tue, Oct 6, 2026 | 3 deploys |
| Wed, Oct 7, 2026 | 0 deploys |
| Thu, Oct 8, 2026 | 0 deploys |
| Fri, Oct 9, 2026 | 8 deploys |
| Sat, Oct 10, 2026 | 0 deploys |
| Sun, Oct 11, 2026 | 0 deploys |
| Mon, Oct 12, 2026 | 0 deploys |
| Tue, Oct 13, 2026 | 14 deploys |
| Wed, Oct 14, 2026 | 0 deploys |
| Thu, Oct 15, 2026 | 10 deploys |
| Fri, Oct 16, 2026 | 0 deploys |
| Sat, Oct 17, 2026 | 0 deploys |
| Sun, Oct 18, 2026 | 0 deploys |
| Mon, Oct 19, 2026 | 4 deploys |
| Tue, Oct 20, 2026 | 0 deploys |
| Wed, Oct 21, 2026 | 7 deploys |
| Thu, Oct 22, 2026 | 13 deploys |
| Fri, Oct 23, 2026 | 0 deploys |
| Sat, Oct 24, 2026 | 0 deploys |
| Sun, Oct 25, 2026 | 0 deploys |
| Mon, Oct 26, 2026 | 7 deploys |
| Tue, Oct 27, 2026 | 0 deploys |
| Wed, Oct 28, 2026 | 13 deploys |
| Thu, Oct 29, 2026 | 6 deploys |
| Fri, Oct 30, 2026 | 1 deploy |
| Sat, Oct 31, 2026 | 0 deploys |
| Sun, Nov 1, 2026 | 0 deploys |
| Mon, Nov 2, 2026 | 0 deploys |
| Tue, Nov 3, 2026 | 0 deploys |
| Wed, Nov 4, 2026 | 13 deploys |
| Thu, Nov 5, 2026 | 8 deploys |
| Fri, Nov 6, 2026 | 0 deploys |
| Sat, Nov 7, 2026 | 0 deploys |
| Sun, Nov 8, 2026 | 0 deploys |
| Mon, Nov 9, 2026 | 1 deploy |
| Tue, Nov 10, 2026 | 3 deploys |
| Wed, Nov 11, 2026 | 5 deploys |
| Thu, Nov 12, 2026 | 10 deploys |
| Fri, Nov 13, 2026 | 1 deploy |
| Sat, Nov 14, 2026 | 0 deploys |
| Sun, Nov 15, 2026 | 0 deploys |
Give it rows with a day and a value. Each week is a column and each weekday a row, and each day takes one of five levels: level 0 for a day with no data or nothing in it, then four levels that split the other days at their quartiles, painted in one colour from faint to full. Month names run along the top, Mon, Wed and Fri down the start edge, and under the grid sit the range and a key from less to more.
Point at a day, tap it or tab to the grid and use the arrow keys: the day lifts and a tooltip reads its value ("12 on Tue, Nov 3"). Cells fade in as a diagonal wave from the first week the first time the calendar is on screen, and each day eases to its new level when the data changes.
Heat Calendar is part of the Fabricator style. It's drawn in SVG, so the same component ships for every base, and its layout comes from the same model as the React Native version.
Installation#
bunx --bun fabricator-ui@latest add heat-calendar
Usage#
import { HeatCalendar } from "@/components/ui/heat-calendar"const data = [
{ date: "2026-11-02", value: 3 },
{ date: "2026-11-03", value: 12 },
{ date: "2026-11-04", value: 0 },
]
<HeatCalendar data={data} label="Deploys per day" />Each row's day is read from dateKey ("date" by default) as an ISO date string or a Date, and its value from valueKey ("value"). Rows on the same day add up. Days are calendar days in UTC, so "2026-11-03" lands on the 3rd for every reader and a page rendered on a server matches the browser. Pass days as yyyy-MM-dd strings, or Dates at midnight UTC.
Without a range, the calendar shows the 52 weeks ending at the latest day in the data. The chart fills its container's width: cells are square, 3px apart, and as large as the width allows between 8px and 16px. When even 8px cells don't fit, the grid scrolls sideways and opens on the latest week, with the weekday names staying put.
formatValue writes each value in the tooltip and the hidden table. Since the table renders on the server, use a formatter that writes the same text in Node and in the browser, such as a template string or formatChartNumber from lib/chart-model.
Examples#
A range of weeks#
range sets the first and last day to draw, and weekStartsOn={0} starts each column on Sunday. thresholds fixes the levels: the most a day can hold and still be level 1, 2 and 3, with anything above the third at level 4. color picks the colour.
| Value | |
|---|---|
| Mon, Jul 27, 2026 | 0 |
| Tue, Jul 28, 2026 | 4 |
| Wed, Jul 29, 2026 | 2 |
| Thu, Jul 30, 2026 | 0 |
| Fri, Jul 31, 2026 | 10 |
| Sat, Aug 1, 2026 | 1 |
| Sun, Aug 2, 2026 | 1 |
| Mon, Aug 3, 2026 | 4 |
| Tue, Aug 4, 2026 | 4 |
| Wed, Aug 5, 2026 | 2 |
| Thu, Aug 6, 2026 | 1 |
| Fri, Aug 7, 2026 | 8 |
| Sat, Aug 8, 2026 | 0 |
| Sun, Aug 9, 2026 | 1 |
| Mon, Aug 10, 2026 | 6 |
| Tue, Aug 11, 2026 | 10 |
| Wed, Aug 12, 2026 | 3 |
| Thu, Aug 13, 2026 | 0 |
| Fri, Aug 14, 2026 | 1 |
| Sat, Aug 15, 2026 | 1 |
| Sun, Aug 16, 2026 | 1 |
| Mon, Aug 17, 2026 | 5 |
| Tue, Aug 18, 2026 | 4 |
| Wed, Aug 19, 2026 | 1 |
| Thu, Aug 20, 2026 | 2 |
| Fri, Aug 21, 2026 | 9 |
| Sat, Aug 22, 2026 | 0 |
| Sun, Aug 23, 2026 | 0 |
| Mon, Aug 24, 2026 | 5 |
| Tue, Aug 25, 2026 | 8 |
| Wed, Aug 26, 2026 | 0 |
| Thu, Aug 27, 2026 | 3 |
| Fri, Aug 28, 2026 | 11 |
| Sat, Aug 29, 2026 | 1 |
| Sun, Aug 30, 2026 | 0 |
| Mon, Aug 31, 2026 | 6 |
| Tue, Sep 1, 2026 | 12 |
| Wed, Sep 2, 2026 | 2 |
| Thu, Sep 3, 2026 | 11 |
| Fri, Sep 4, 2026 | 0 |
| Sat, Sep 5, 2026 | 1 |
| Sun, Sep 6, 2026 | 2 |
| Mon, Sep 7, 2026 | 12 |
| Tue, Sep 8, 2026 | 2 |
| Wed, Sep 9, 2026 | 1 |
| Thu, Sep 10, 2026 | 9 |
| Fri, Sep 11, 2026 | 12 |
| Sat, Sep 12, 2026 | 1 |
| Sun, Sep 13, 2026 | 2 |
| Mon, Sep 14, 2026 | 9 |
| Tue, Sep 15, 2026 | 3 |
| Wed, Sep 16, 2026 | 1 |
| Thu, Sep 17, 2026 | 6 |
| Fri, Sep 18, 2026 | 0 |
| Sat, Sep 19, 2026 | 2 |
| Sun, Sep 20, 2026 | 2 |
| Mon, Sep 21, 2026 | 2 |
| Tue, Sep 22, 2026 | 10 |
| Wed, Sep 23, 2026 | 0 |
| Thu, Sep 24, 2026 | 7 |
| Fri, Sep 25, 2026 | 12 |
| Sat, Sep 26, 2026 | 1 |
| Sun, Sep 27, 2026 | 1 |
| Mon, Sep 28, 2026 | 4 |
| Tue, Sep 29, 2026 | 10 |
| Wed, Sep 30, 2026 | 3 |
| Thu, Oct 1, 2026 | 12 |
| Fri, Oct 2, 2026 | 13 |
| Sat, Oct 3, 2026 | 1 |
| Sun, Oct 4, 2026 | 2 |
| Mon, Oct 5, 2026 | 4 |
| Tue, Oct 6, 2026 | 1 |
| Wed, Oct 7, 2026 | 0 |
| Thu, Oct 8, 2026 | 0 |
| Fri, Oct 9, 2026 | 10 |
| Sat, Oct 10, 2026 | 0 |
| Sun, Oct 11, 2026 | 1 |
| Mon, Oct 12, 2026 | 5 |
| Tue, Oct 13, 2026 | 3 |
| Wed, Oct 14, 2026 | 4 |
| Thu, Oct 15, 2026 | 0 |
| Fri, Oct 16, 2026 | 3 |
| Sat, Oct 17, 2026 | 0 |
| Sun, Oct 18, 2026 | 1 |
| Mon, Oct 19, 2026 | 5 |
| Tue, Oct 20, 2026 | 11 |
| Wed, Oct 21, 2026 | 0 |
| Thu, Oct 22, 2026 | 13 |
| Fri, Oct 23, 2026 | 13 |
| Sat, Oct 24, 2026 | 2 |
| Sun, Oct 25, 2026 | 1 |
| Mon, Oct 26, 2026 | 3 |
| Tue, Oct 27, 2026 | 10 |
| Wed, Oct 28, 2026 | 6 |
| Thu, Oct 29, 2026 | 4 |
| Fri, Oct 30, 2026 | 2 |
| Sat, Oct 31, 2026 | 1 |
| Sun, Nov 1, 2026 | 1 |
| Mon, Nov 2, 2026 | 12 |
| Tue, Nov 3, 2026 | 5 |
| Wed, Nov 4, 2026 | 11 |
| Thu, Nov 5, 2026 | 1 |
| Fri, Nov 6, 2026 | 1 |
| Sat, Nov 7, 2026 | 2 |
| Sun, Nov 8, 2026 | 1 |
| Mon, Nov 9, 2026 | 2 |
| Tue, Nov 10, 2026 | 10 |
| Wed, Nov 11, 2026 | 3 |
| Thu, Nov 12, 2026 | 11 |
| Fri, Nov 13, 2026 | 4 |
| Sat, Nov 14, 2026 | 1 |
| Sun, Nov 15, 2026 | 0 |
Following the inspected day#
onActiveChange reports the day under the pointer, the finger or the keyboard, with its date, its value and its first row, and null when there is none. Switching the data eases each day to its new level.
| Value | |
|---|---|
| Mon, Aug 24, 2026 | 0 commits |
| Tue, Aug 25, 2026 | 8 commits |
| Wed, Aug 26, 2026 | 7 commits |
| Thu, Aug 27, 2026 | 2 commits |
| Fri, Aug 28, 2026 | 3 commits |
| Sat, Aug 29, 2026 | 3 commits |
| Sun, Aug 30, 2026 | 1 commit |
| Mon, Aug 31, 2026 | 1 commit |
| Tue, Sep 1, 2026 | 2 commits |
| Wed, Sep 2, 2026 | 3 commits |
| Thu, Sep 3, 2026 | 11 commits |
| Fri, Sep 4, 2026 | 0 commits |
| Sat, Sep 5, 2026 | 3 commits |
| Sun, Sep 6, 2026 | 2 commits |
| Mon, Sep 7, 2026 | 2 commits |
| Tue, Sep 8, 2026 | 4 commits |
| Wed, Sep 9, 2026 | 0 commits |
| Thu, Sep 10, 2026 | 5 commits |
| Fri, Sep 11, 2026 | 2 commits |
| Sat, Sep 12, 2026 | 2 commits |
| Sun, Sep 13, 2026 | 2 commits |
| Mon, Sep 14, 2026 | 1 commit |
| Tue, Sep 15, 2026 | 11 commits |
| Wed, Sep 16, 2026 | 2 commits |
| Thu, Sep 17, 2026 | 6 commits |
| Fri, Sep 18, 2026 | 2 commits |
| Sat, Sep 19, 2026 | 0 commits |
| Sun, Sep 20, 2026 | 1 commit |
| Mon, Sep 21, 2026 | 3 commits |
| Tue, Sep 22, 2026 | 9 commits |
| Wed, Sep 23, 2026 | 1 commit |
| Thu, Sep 24, 2026 | 9 commits |
| Fri, Sep 25, 2026 | 4 commits |
| Sat, Sep 26, 2026 | 1 commit |
| Sun, Sep 27, 2026 | 1 commit |
| Mon, Sep 28, 2026 | 5 commits |
| Tue, Sep 29, 2026 | 6 commits |
| Wed, Sep 30, 2026 | 11 commits |
| Thu, Oct 1, 2026 | 3 commits |
| Fri, Oct 2, 2026 | 8 commits |
| Sat, Oct 3, 2026 | 1 commit |
| Sun, Oct 4, 2026 | 3 commits |
| Mon, Oct 5, 2026 | 3 commits |
| Tue, Oct 6, 2026 | 7 commits |
| Wed, Oct 7, 2026 | 7 commits |
| Thu, Oct 8, 2026 | 9 commits |
| Fri, Oct 9, 2026 | 1 commit |
| Sat, Oct 10, 2026 | 0 commits |
| Sun, Oct 11, 2026 | 1 commit |
| Mon, Oct 12, 2026 | 3 commits |
| Tue, Oct 13, 2026 | 7 commits |
| Wed, Oct 14, 2026 | 12 commits |
| Thu, Oct 15, 2026 | 1 commit |
| Fri, Oct 16, 2026 | 8 commits |
| Sat, Oct 17, 2026 | 3 commits |
| Sun, Oct 18, 2026 | 0 commits |
| Mon, Oct 19, 2026 | 0 commits |
| Tue, Oct 20, 2026 | 3 commits |
| Wed, Oct 21, 2026 | 7 commits |
| Thu, Oct 22, 2026 | 4 commits |
| Fri, Oct 23, 2026 | 8 commits |
| Sat, Oct 24, 2026 | 0 commits |
| Sun, Oct 25, 2026 | 0 commits |
| Mon, Oct 26, 2026 | 7 commits |
| Tue, Oct 27, 2026 | 8 commits |
| Wed, Oct 28, 2026 | 8 commits |
| Thu, Oct 29, 2026 | 1 commit |
| Fri, Oct 30, 2026 | 9 commits |
| Sat, Oct 31, 2026 | 1 commit |
| Sun, Nov 1, 2026 | 2 commits |
| Mon, Nov 2, 2026 | 4 commits |
| Tue, Nov 3, 2026 | 0 commits |
| Wed, Nov 4, 2026 | 1 commit |
| Thu, Nov 5, 2026 | 7 commits |
| Fri, Nov 6, 2026 | 10 commits |
| Sat, Nov 7, 2026 | 1 commit |
| Sun, Nov 8, 2026 | 0 commits |
| Mon, Nov 9, 2026 | 8 commits |
| Tue, Nov 10, 2026 | 11 commits |
| Wed, Nov 11, 2026 | 5 commits |
| Thu, Nov 12, 2026 | 11 commits |
| Fri, Nov 13, 2026 | 11 commits |
| Sat, Nov 14, 2026 | 2 commits |
| Sun, Nov 15, 2026 | 2 commits |
Colours#
Every level is one colour over the empty cell, so the levels read as more and less of the same thing. The colour is the first slot of the chart palette unless you pass color: a palette slot, an upstream chart token (chart-1 … chart-5), a role (primary, success, …), a CSS variable or any CSS colour.
| Level | What it holds | Opacity over the empty cell |
|---|---|---|
| 0 | no data, zero or less | none: the empty cell |
| 1 | up to the first threshold | 45% |
| 2 | up to the second threshold | 62% |
| 3 | up to the third threshold | 80% |
| 4 | above the third threshold | 100% |
The empty cell is the text colour at 8%, so it reads as a place in the grid on any surface. Level 1 keeps 2:1 or more against the card in light and dark, so it stays clearly apart from an empty day. The levels are opacity steps, so they look the same on React Native.
Motion#
- Draw-in: the first time the calendar scrolls into view, cells fade and grow in as a diagonal wave from the first week, on the
revealrole, once per mount. - Morph: when
data,dateKey,valueKey,range,weekStartsOn,thresholdsorcolorchange, each day eases to its new level on themoverole. Days entering the range fade in; days leaving it fade out. - Glide: the lifted day and the tooltip glide from day to day on the
gliderole.
All three follow the motion speed of the region they sit in. Reduce Motion and the instant speed draw the calendar at once and drop the glide; animate={false} does the same for one calendar.
API Reference#
HeatCalendar#
All other props go to the root <div>.
| Prop | Type | Default |
|---|---|---|
data | TDatum[] | required |
label | string | required: the accessible name |
dateKey | string | "date" |
valueKey | string | "value" |
range | { start: Date | string; end: Date | string } | the 52 weeks ending at the latest day |
weekStartsOn | 0 | 1 | 1 (Monday) |
thresholds | number[] | the quartiles of the non-zero values |
color | ChartColor | "chart-series-1" |
formatValue | (value: number, key: string) => string | 1,234 |
legend | boolean | true: the "Less … More" key |
tooltip | boolean | true |
animate | boolean | true |
loading | boolean | false |
empty | ReactNode | "No data" |
onActiveChange | (active: HeatCalendarActive<TDatum> | null) => void | - |
HeatCalendarActive#
| Field | Type | What |
|---|---|---|
index | number | the day's place in the range |
date | string | the day as yyyy-MM-dd |
value | number | null | the day's total, null with none |
datum | TDatum | the day's first row, if any |
Data attributes#
| Attribute | Element | Present when |
|---|---|---|
data-slot="heat-calendar" | root | always |
data-loading | root | loading is true |
data-slot="chart-plot" | the plot | always; data-empty with no day |
data-slot="heat-calendar-cell" | a day | always; data-level is 0 to 4 |
data-slot="heat-calendar-lift" | the lifted day | a day is inspected |
data-slot="heat-calendar-key" | the key | legend is on |
data-slot="chart-tooltip" | the tooltip | a day is inspected |
Accessibility#
- The grid is a slider named after
label("Deploys per day: inspect values"). Tab to it, then Up and Down step a day, Left and Right a week, Home and End jump to the first and last day, and Escape lets go. Its value text reads the tooltip. A day the keyboard reaches off screen scrolls into view. - Every day is also in a table hidden from sight, with its full date and value, so a screen reader can read the data without inspecting it.
- Levels differ in lightness, and the tooltip and the table always give the number.
loadingsetsaria-busyon the root and dims the last drawing until new data arrives.