---
title: "Activity heatmap | Free React & Tailwind Blocks Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/blocks/activity-heatmap"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/activity-heatmap.tsx"
install_command: "npx motion-ui-skill add activity-heatmap"
dependencies: ["clsx","motion","react","tailwind-merge"]
category: "blocks"
subcategory: "blocks"
---

# Activity heatmap

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

## Install

```bash
npx motion-ui-skill add activity-heatmap
```

## Dependencies

- `clsx`
- `motion`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { ActivityHeatmap as ActivityHeatmap } from "@/components/blocks/activity-heatmap";

export function Example() {
  return (
    <div className="p-6">
      <ActivityHeatmap />
    </div>
  );
}
```

## Source Files

- [components/blocks/activity-heatmap.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/activity-heatmap.tsx)
- [components/blocks/activity-heatmap.module.css](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/activity-heatmap.module.css)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
- [lib/motion-tokens.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/motion-tokens.ts)
