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

# Waffle chart

> A ten by ten unit chart where every cell is one percent, and cells fly to their new group when the data changes.

## Install

```bash
npx motion-ui-skill add waffle-chart
```

## Dependencies

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

## Usage

```tsx
"use client";

import { WaffleChart as WaffleChart } from "@/components/blocks/waffle-chart";

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

## Source Files

- [components/blocks/waffle-chart.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/waffle-chart.tsx)
- [components/blocks/waffle-chart.module.css](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/blocks/waffle-chart.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)
