Activity heatmap

Core

See a year of activity at a glance, one square per day.

pnpm dlx shadcn@latest add https://wui.alann.works/r/activity-heatmap.json

contributions in 126 contributions in Last 6 weeks

Darker squares mean more contributions. Levels: no contributions, 1 to 3 contributions, 4 to 6 contributions, 7 to 9 contributions, 10 or more contributions.

API Reference

PropTypeDefault
days*ActivityDay[]required
label*stringrequired
period*stringrequired
unit{ one: string; other: string }—
thresholds[number, number, number]—
weekStartsOn0 | 1—
selectedDatestring | null—
onSelectDate(date: string) => void—
actionsReactNode—
localestring—
classNamestring—
Categories
data
Dependencies
motion