Atelier UI

Search components…

Search components…

Heatmap Calendar

GitHub-style contribution calendar with five intensity levels, tooltips and roving-tabindex keyboard navigation.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

HeatmapCalendarProps

Also accepts all props of Omit<React.ComponentProps<"div">, "children">

PropTypeDefaultDescription
data* requiredHeatmapDatum[]——
endDatestringHEATMAP_END_DATELast day shown (YYYY-MM-DD). Fixed by default so output is deterministic.
weeksnumber53—
toneHeatmapTone"emerald"—
unitstring"contribution"Singular unit name used in labels, e.g. "contribution"
titlestring"Activity calendar"—

Install

$ npx shadcn@latest add https://chromotion.dev/r/heatmap-calendar.json

More like this