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 { Questionnaire, type QuestionnaireQuestion } from '@/components/ui/questionnaire'const questions: QuestionnaireQuestion[] = [ { id: 'plan', type: 'single', title: 'Which plan fits you?', choices: [ { value: 'free', label: 'Free', description: 'For personal projects' }, { value: 'pro', label: 'Pro', description: 'For small teams' }, { value: 'team', label: 'Team', description: 'For larger organizations' }, ], }, { id: 'features', type: 'multiple', title: 'Which features do you need?', optional: true, max: 2, choices: [ { value: 'analytics', label: 'Analytics' }, { value: 'api', label: 'API access' }, { value: 'sso', label: 'Single sign-on' }, ], }, { id: 'feedback', type: 'text', title: 'Anything else we should know?', optional: true, },]export default function QuestionnaireDemo() { return ( <Questionnaire className='w-full max-w-lg' questions={questions} defaultValue={{ plan: 'pro' }} /> )}