preskok/ui

Line Chart

Show trends over time with a configurable line chart built on the shared chart primitives.

Installation

pnpm dlx preskok-ui@latest add line-chart

Usage

import { LineChart } from "@/components/ui/preskok-ui/line-chart"
 
export function Example() {
  return (
    <LineChart
      dataKey="month"
      data={[]}
      config={{ value: { label: "Value" } }}
    />
  )
}