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 { useRef } from "react"import { ScrollDrivenAnimationPrimitive } from "@/components/motion-lexicon/primitives/scroll-driven-animation"import { Badge } from "@/components/ui/badge"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"const orders = [ { id: "1024", title: "Trail running shoes", status: "Shipped" }, { id: "1025", title: "Insulated water bottle", status: "Processing" }, { id: "1026", title: "Merino wool socks", status: "Delivered" }, { id: "1027", title: "Lightweight rain jacket", status: "Shipped" },]export default function ScrollDrivenAnimationDemo() { const scrollRef = useRef<HTMLDivElement>(null) return ( <div ref={scrollRef} className="h-80 w-full max-w-md overflow-y-auto rounded-md border p-4" > <div className="flex flex-col gap-6 py-12"> {orders.map((order, index) => ( <ScrollDrivenAnimationPrimitive key={order.id} axis={index % 2 === 0 ? "y" : "x"} distance={60} containerRef={scrollRef} > <Card className="w-full"> <CardHeader> <CardTitle>{order.title}</CardTitle> <CardDescription>Order #{order.id}</CardDescription> </CardHeader> <CardContent> <Badge variant="secondary">{order.status}</Badge> </CardContent> </Card> </ScrollDrivenAnimationPrimitive> ))} </div> </div> )}