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 { Bar, BarChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YAxis } from 'recharts'import { ChartFrame, ChartLegend, ChartTooltipContent, MONTHLY_TRAFFIC, SERIES, chartGrid, chartXAxis, chartYAxis, createGrowBarShape, useChartMotion, useIntroStartedAt } from '@/components/spectrumui/charts/chart-kit'export default function ChartKitDemo() { const introStartedAt = useIntroStartedAt() const { reduce } = useChartMotion() const shape = createGrowBarShape({ introStartedAt, dataLength: MONTHLY_TRAFFIC.length, reduce }) return ( <div className="w-full max-w-lg"> <ChartFrame> <ChartLegend /> <ResponsiveContainer width="100%" height="100%"> <BarChart data={MONTHLY_TRAFFIC}> <CartesianGrid {...chartGrid} /> <XAxis dataKey="month" {...chartXAxis} /> <YAxis {...chartYAxis} /> <Tooltip cursor={false} content={<ChartTooltipContent />} /> <Bar dataKey="desktop" fill={SERIES.desktop.color} shape={shape} /> <Bar dataKey="mobile" fill={SERIES.mobile.color} shape={shape} /> </BarChart> </ResponsiveContainer> </ChartFrame> </div> )}