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 { SmoothScroll } from "@/components/motion/smooth-scroll"import { Separator } from "@/components/ui/separator"const items = [ { title: "Getting started", body: "Install the package and wrap your page in the provider." }, { title: "Scroll offset", body: "Read the current position from the shared scroll value." }, { title: "Progress", body: "Track how far the user has scrolled through the page." }, { title: "Velocity", body: "Use scroll speed to drive subtle motion effects." }, { title: "Reduced motion", body: "Animations step back automatically when motion is reduced." },]export default function SmoothScrollDemo() { return ( <SmoothScroll root={false} className="h-72 w-full max-w-md overflow-y-auto rounded-md border"> <div className="flex flex-col gap-4 p-4"> {items.map((item, i) => ( <div key={item.title} className="flex flex-col gap-4"> <div className="flex flex-col gap-1"> <h4 className="text-sm font-medium leading-none">{item.title}</h4> <p className="text-sm text-muted-foreground">{item.body}</p> </div> {i < items.length - 1 && <Separator />} </div> ))} </div> </SmoothScroll> )}