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 { StreamingAnswer } from "@/components/motion-lexicon/streaming-answer"export default function StreamingAnswerDemo() { return ( <StreamingAnswer className="max-w-lg" text="Motion lets you animate React components with spring physics, gestures, and layout transitions. Start by swapping a div for motion.div and passing an initial and animate prop." sources={[ { id: "1", title: "Motion docs", domain: "motion.dev" }, { id: "2", title: "Animation guide", domain: "motion.dev" }, ]} followUps={["How do springs work?", "Show a gesture example"]} speed={12} onFollowUp={(prompt) => console.log(prompt)} /> )}