{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "line-chart-example",
  "type": "registry:example",
  "title": "Line Chart Example",
  "description": "Composable line-chart demo for Open in v0",
  "dependencies": [
    "@visx/curve@4.0.1-alpha.0",
    "@visx/shape@4.0.1-alpha.0",
    "motion"
  ],
  "registryDependencies": [
    "@bklit/line-chart",
    "@bklit/grid",
    "@bklit/x-axis",
    "@bklit/chart-tooltip"
  ],
  "files": [
    {
      "path": "registry/examples/line-chart.tsx",
      "content": "\"use client\"\n\n// In your app (monorepo/npm): import { LineChart, Line, Grid, XAxis, ChartTooltip } from \"@bklitui/ui/charts\"\nimport { LineChart, Line, Grid, XAxis, ChartTooltip } from \"@/components/charts\"\n\nimport { curveNatural } from \"@visx/curve\";\n\nconst chartData = [\n  { date: new Date(\"2024-01-01\"), users: 1200 },\n  { date: new Date(\"2024-02-01\"), users: 1350 },\n  { date: new Date(\"2024-03-01\"), users: 1100 },\n  { date: new Date(\"2024-04-01\"), users: 1450 },\n  { date: new Date(\"2024-05-01\"), users: 1380 },\n  { date: new Date(\"2024-06-01\"), users: 1520 },\n];\n\nexport default function Component() {\n  return (\n    <main className=\"flex min-h-svh w-full items-center justify-center p-6 md:p-10\">\n      <div className=\"w-full max-w-3xl\">\n        <LineChart data={chartData}>\n  <Grid horizontal />\n  <Line dataKey=\"users\" curve={curveNatural} stroke=\"var(--chart-line-primary)\" />\n  <XAxis />\n  <ChartTooltip />\n</LineChart>\n      </div>\n    </main>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/page.tsx"
    },
    {
      "path": "registry/examples/line-chart-index.ts",
      "content": "// biome-ignore-all lint/performance/noBarrelFile: v0 registry example barrel for shadcn install\nexport { LineChart } from \"./line-chart\";\nexport { Line } from \"./line\";\nexport { Grid } from \"./grid\";\nexport { XAxis } from \"./x-axis\";\nexport { ChartTooltip } from \"./tooltip\";\n",
      "type": "registry:lib",
      "target": "components/charts/index.ts"
    }
  ]
}