# Line Chart (/charts/line-chart)





<ComponentPreview name="line-chart-preskok-demo" description="Sales and profit over months." />

## Installation [#installation]

```bash
npx shadcn@latest add @preskok/line-chart
```

## Usage [#usage]

```tsx
import { LineChart } from "@/components/ui/preskok-ui/line-chart"

export function Example() {
  return (
    <LineChart
      dataKey="month"
      data={[]}
      config={{ value: { label: "Value" } }}
    />
  )
}
```
