preskok/ui

Line Chart

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

Installation

pnpm dlx @preskok-org/ui@latest add line-chart

Usage

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