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 { StatGroup2 } from '@/components/dashboardblocks/stat-group/stat-group-02'export default function StatGroup2Demo() { return ( <div className='w-full max-w-2xl'> <StatGroup2 title='Store performance' description='Last 14 days, compared with the previous 14 days' metrics={[ { key: 'visitors', label: 'Visitors', value: 24318, previous: 21640, history: [1900, 1950, 2010, 1980, 2050, 2100, 2080, 2150, 2170, 2200, 2240, 2260, 2290, 2310], }, { key: 'revenue', label: 'Revenue', value: 48210, previous: 45120, formatter: (value) => `$${value.toLocaleString('en-US')}`, history: [3100, 3150, 3090, 3300, 3280, 3350, 3420, 3390, 3480, 3510, 3560, 3600, 3580, 3650], }, { key: 'orders', label: 'Orders', value: 612, previous: 580, history: [40, 42, 41, 44, 43, 45, 47, 46, 48, 49, 50, 52, 51, 53], }, { key: 'bounce', label: 'Bounce rate', value: 41, previous: 44, changeType: 'points', goodDirection: 'down', formatter: (value) => `${value}%`, history: [44, 43, 44, 42, 43, 42, 42, 41, 42, 41, 41, 40, 41, 41], }, ]} /> </div> )}