Treemap
Treemap: A squarified treemap: click to drill and the tiles grow to fill the view, with a breadcrumb back and metrics that morph every tile. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Treemap
npx motion-ui-skill add treemapComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Treemap
A squarified treemap: click to drill and the tiles grow to fill the view, with a breadcrumb back and metrics that morph every tile.
Install
npx motion-ui-skill add treemap
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { Treemap as Treemap } from "@/components/motion/treemap";
export function Example() {
return (
<div className="p-6">
<Treemap />
</div>
);
}