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 { Question, QuestionActions, QuestionInput, QuestionOption, QuestionOptions, QuestionPrompt, QuestionSubmit,} from "@/components/ai-elements/question"export default function QuestionDemo() { return ( <Question className="w-full max-w-md" selectionMode="single" defaultValue={{ selectedValues: ["react"], text: "" }} > <QuestionPrompt>Which framework do you prefer?</QuestionPrompt> <QuestionOptions> <QuestionOption value="react">React</QuestionOption> <QuestionOption value="vue">Vue</QuestionOption> <QuestionOption value="svelte">Svelte</QuestionOption> </QuestionOptions> <QuestionInput placeholder="Anything else we should know?" /> <QuestionActions> <QuestionSubmit /> </QuestionActions> </Question> )}