---
title: "New Component - Calendar Heatmaps"
description: "The GitHub-style day grid, as a component. Color each day by value on a single-hue ramp or a diverging scale, for contribution graphs and streaks."
url: "https://www.imejis.io/changelogs/calendar-heatmap-component"
image: "https://www.imejis.io/og/components/calendar.jpg"
published: "2026-07-22"
author: "imejis"
---

# New Component - Calendar Heatmaps

## New Component: Calendar Heatmap

Everyone recognizes the green contribution grid on a GitHub profile. It's now a component you can render from your own data: commits, workouts, sales, daily returns, anything with a date.

### The data

An array of `{ date, value }`, one entry per active day, laid out in week columns with month and weekday labels. Missing days render empty, so a sparse habit tracker looks right without filler.

`colorMode: "ramp"` colors by intensity in one hue. It defaults to the classic GitHub green scale, and you can pass your own `colors` levels or a `baseColor` for any brand.

`colorMode: "diverging"` colors signed values red for down and green for up, which is perfect for daily returns or over/under-goal calendars.

Pin the window with `startDate`/`endDate` (a full calendar year, say), or let it fit the data.

### Dynamic data, per render

```http
POST https://render.imejis.io/v1/<design-id>
{ "activity.data": [
  { "date": "2024-01-06", "value": 3 },
  { "date": "2024-01-07", "value": 8 },
  { "date": "2024-01-10", "value": 12 }
] }
```

"Year in review" cards, streak and habit graphics, daily-metric summaries, P&L and returns calendars.

### Try it

It's under Data in the editor palette, with a live playground on the [calendar component page](/components/calendar).
