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 { Gauge, GaugeLegend, GaugeTargetKey, type GaugeBand } from '@/components/dashboardblocks/gauge'import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'const bands: GaugeBand[] = [ { from: 0, to: 60, label: 'Poor', tone: 'critical' }, { from: 60, to: 85, label: 'Fair', tone: 'caution' }, { from: 85, to: 100, label: 'Good', tone: 'positive' },]export default function GaugeDemo() { return ( <Card className='w-full max-w-sm'> <CardHeader> <CardTitle>Uptime</CardTitle> <CardDescription>Last 30 days</CardDescription> </CardHeader> <CardContent className='flex flex-col items-center gap-4'> <Gauge label='Uptime' value={92} bands={bands} target={90} colorByBand className='w-full max-w-[220px]'> <span className='text-3xl font-semibold tabular-nums'>92%</span> </Gauge> <GaugeLegend bands={bands} format={(value) => `${value}%`} /> <GaugeTargetKey label='Target 90%' /> </CardContent> </Card> )}