Activity heatmap
CoreSee a year of activity at a glance, one square per day.
pnpm dlx shadcn@latest add https://wui.alann.works/r/activity-heatmap.jsonAPI Reference
| Prop | Type | Default |
|---|---|---|
days* | ActivityDay[] | required |
label* | string | required |
period* | string | required |
unit | { one: string; other: string } | — |
thresholds | [number, number, number] | — |
weekStartsOn | 0 | 1 | — |
selectedDate | string | null | — |
onSelectDate | (date: string) => void | — |
actions | ReactNode | — |
locale | string | — |
className | string | — |