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 { MetricList1 } from '@/components/dashboardblocks/metric-list/metric-list-01'export default function MetricListDemo() { return ( <div className='w-full max-w-lg'> <MetricList1 title='Key metrics' description='Last 14 days, compared with the previous 14 days' period='last 14 days' metrics={[ { key: 'visitors', label: 'Visitors', value: 24318, previous: 21640, format: 'compact', history: [1620, 1700, 1750, 1810, 1860, 1900, 1880, 1920, 1950, 1990, 2010, 2040, 2070, 2100], }, { key: 'signups', label: 'Sign-ups', value: 17402, previous: 16820, format: 'compact', history: [1180, 1190, 1210, 1205, 1230, 1240, 1236, 1250, 1245, 1262, 1270, 1281, 1290, 1300], }, { key: 'conversion', label: 'Conversion rate', value: 3.4, previous: 3.1, changeType: 'points', format: 'percent', history: [3.1, 3.1, 3.2, 3.2, 3.3, 3.2, 3.3, 3.3, 3.4, 3.3, 3.4, 3.4, 3.5, 3.4], }, { key: 'bounce', label: 'Bounce rate', value: 41, previous: 44, changeType: 'points', format: 'percent', goodDirection: 'down', history: [43, 42.8, 43.1, 42.5, 42.6, 42.2, 42.4, 41.9, 42.0, 41.7, 41.8, 41.5, 41.4, 41], }, ]} /> </div> )}