Waffle chart

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. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Waffle chart

npx motion-ui-skill add waffle-chart

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

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

npx motion-ui-skill add waffle-chart

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

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

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

Browse this category