Brush chart
Brush chart: A dense time series with an overview strip: drag a window to zoom, resize it by its handles, and read events in place. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Brush chart
npx motion-ui-skill add brush-chartComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Brush chart
A dense time series with an overview strip: drag a window to zoom, resize it by its handles, and read events in place.
Install
npx motion-ui-skill add brush-chart
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { BrushChart as BrushChart } from "@/components/blocks/brush-chart";
export function Example() {
return (
<div className="p-6">
<BrushChart />
</div>
);
}