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 { useState } from 'react'import { CompareToggle, DashboardHeaderTitle, DateRangePicker, ExportMenu, type DateRangePreset } from '@/components/dashboardblocks/dashboard-header'export default function DashboardHeaderDemo() { const [preset, setPreset] = useState<DateRangePreset>('30d') const [compare, setCompare] = useState(true) return ( <div className='flex w-full max-w-2xl flex-wrap items-center justify-between gap-4'> <DashboardHeaderTitle title='Overview' description='Traffic for the selected period.' /> <div className='flex items-center gap-2'> <DateRangePicker value={preset} onValueChange={setPreset} today={new Date(2025, 0, 15)} /> <CompareToggle checked={compare} onCheckedChange={setCompare} /> <ExportMenu onExport={(format) => console.log(format)} /> </div> </div> )}