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 { MetricList4 } from '@/components/dashboardblocks/metric-list/metric-list-04'export default function MetricList4Demo() { return ( <div className='w-full max-w-2xl'> <MetricList4 title='Watchlist' description='Daily, last 7 days' comparison='vs previous week' labels={['Sep 19', 'Sep 20', 'Sep 21', 'Sep 22', 'Sep 23', 'Sep 24', 'Sep 25']} metrics={[ { key: 'dau', label: 'Active users', value: 13310, previous: 12000, history: [12000, 12450, 12610, 12880, 13050, 13190, 13310], format: 'compact', }, { key: 'mrr', label: 'MRR', value: 196750, previous: 189200, history: [189200, 190100, 191400, 192300, 193800, 195200, 196750], format: 'currency-compact', }, { key: 'signups', label: 'Sign-ups', value: 142, previous: 128, history: [128, 131, 133, 136, 138, 140, 142], }, { key: 'latency', label: 'p95 API latency', value: 412, previous: 430, history: [430, 425, 427, 421, 418, 415, 412], format: 'milliseconds', goodDirection: 'down', }, ]} /> </div> )}