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 { DonutChart, DonutChartCenter, DonutChartLegend, DonutChartPlot, type DonutSegment } from "@/components/charts/donut-chart"const segments: DonutSegment[] = [ { id: "direct", name: "Direct", color: "var(--chart-1)", value: 5400 }, { id: "search", name: "Search", color: "var(--chart-2)", value: 3100 }, { id: "social", name: "Social", color: "var(--chart-3)", value: 1800 }, { id: "email", name: "Email", color: "var(--chart-4)", value: 900 },]export default function DonutChartDemo() { return ( <DonutChart segments={segments} className="w-full max-w-lg"> <div className="grid items-center gap-6 sm:grid-cols-[minmax(0,16rem)_1fr]"> <DonutChartPlot> <DonutChartCenter totalLabel="Monthly visits" /> </DonutChartPlot> <DonutChartLegend /> </div> </DonutChart> )}