Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { LineChart, Line } from "recharts"import { CartesianGrid, Chart, ChartTooltip, ChartTooltipContent, XAxis, YAxis, type ChartConfig,} from "@/components/ui/preskok-ui/recharts-chart"const config = { visitors: { label: "Visitors", color: "chart-1" },} satisfies ChartConfigconst data = [ { month: "Jan", visitors: 186 }, { month: "Feb", visitors: 305 }, { month: "Mar", visitors: 237 }, { month: "Apr", visitors: 273 }, { month: "May", visitors: 209 }, { month: "Jun", visitors: 214 },]export default function RechartsChartDemo() { return ( <Chart config={config} data={data} dataKey="month" className="h-64 w-full max-w-lg"> <LineChart data={data}> <CartesianGrid /> <XAxis /> <YAxis /> <ChartTooltip content={<ChartTooltipContent />} /> <Line dataKey="visitors" stroke="var(--color-visitors)" type="monotone" dot={false} /> </LineChart> </Chart> )}