# Heat Calendar

> A calendar heatmap of daily activity such as transactions, trades or API calls, with a readout on hover and a selected span that totals the days.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/heat-calendar
```

npm dependencies: clsx, motion, tailwind-merge

## Props

`<HeatCalendar />`

- `title?`: `string`
- `unit?`: `string`
- `weeks?`: `number`
- `maxCount?`: `number`
- `values?`: `number[][]`
- `color?`: `string`

## Where it belongs

- Calendars: React calendar heatmap components: a contribution style heat calendar and a monthly returns calendar for performance data. (https://ssych.com/library/s/calendar)

## Related

- Returns Calendar: https://ssych.com/library/returns-calendar.md

## Links

- Live preview and code: https://ssych.com/library/heat-calendar
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
