Show a year of daily counts as a grid of days, shaded by how much happened.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
data | ActivityDay[] | - | |
end | string | - | |
weeks | number | 53 | How many weeks back from end, each a column starting on Monday. |
How many weeks back from end, each a column starting on Monday. | |||
label | string | Activity | The heading over the grid, and its accessible name. |
| The heading over the grid, and its accessible name. | |||
unit | string | contributions | What a count counts, in the plural, for the total & each day's label. |
| What a count counts, in the plural, for the total & each day's label. | |||
locale | string | en-US | Formats the month and day names. |
| Formats the month and day names. | |||
size | sm | md | md | Size of each day. |
| Size of each day. | |||
shape | none | rounded | rounded | |
className | string | - | |
focus | boolean | string | true | |