Bar chart
Bar chart: Compare one measure across days and scrub any bar for its value. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Bar chart
npx motion-ui-skill add bar-chartComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Bar chart
Compare one measure across days and scrub any bar for its value.
Install
npx motion-ui-skill add bar-chart
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { BarChart as BarChart } from "@/components/blocks/bar-chart";
export function Example() {
return (
<div className="p-6">
<BarChart />
</div>
);
}