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 { FunnelBar, formatRate, getFunnelSteps } from '@/components/dashboardblocks/funnel'import { Card, CardContent } from '@/components/ui/card'const steps = getFunnelSteps([ { label: 'Visited', value: 12480 }, { label: 'Signed up', value: 7720 }, { label: 'Activated', value: 4810 }, { label: 'Subscribed', value: 2390 },])export default function FunnelDemo() { return ( <Card className='w-full max-w-md'> <CardContent className='flex flex-col gap-5'> {steps.map((step) => ( <div key={step.label} className='grid gap-2'> <div className='flex items-center justify-between text-sm'> <span className='font-medium'>{step.label}</span> <span className='text-muted-foreground tabular-nums'> {step.value.toLocaleString('en-US')} · {formatRate(step.fromStart)} </span> </div> <FunnelBar value={step.fromStart * 100} /> </div> ))} </CardContent> </Card> )}