Line chart
Line chart: A multi-series line chart with a gliding crosshair, legend toggles, and paths that morph between ranges. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Line chart
npx motion-ui-skill add line-chartComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Line chart
A multi-series line chart with a gliding crosshair, legend toggles, and paths that morph between ranges.
Install
npx motion-ui-skill add line-chart
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { LineChart as LineChart } from "@/components/blocks/line-chart";
export function Example() {
return (
<div className="p-6">
<LineChart />
</div>
);
}