Skip to content
Data & ChartsPro

Heatmap

A grid of rounded cells whose shade shows how much happened — commits per day, tickets per hour, deploys per week.

Usage

Commits

Last 12 weeks

361 commits by 8 contributors

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { Heatmap, HeatmapCell, HeatmapProps } from "@wunderui/react"

Examples

By weekday and hour

A second colour from the chart spectrum and a label on every row and column.

Support tickets

By weekday and hour · Last 4 weeks

475 tickets

Fixed cell size

14 px cells, four levels and no legend — a compact strip under a headline number.

Deploys to production

18 weeks

184

deploys · 10.2 a week

API Reference

PropTypeDefault
datanumber[][]—
rowLabelsstring[]—
columnLabelsstring[]—
maxnumberlargest value
levelsnumber5
colorstringvar(--primary)
cellSizenumberfills the width
gapnumber3
legendbooleantrue
valueFormatter(value: number) => ReactNode—
cellLabel(row: number, column: number) => string—
tooltipbooleantrue
onCellHover(cell: { row, column, value } | null) => void—
animatebooleantrue