@motion-lexicon/primitive-scroll-driven-animationloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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>  )}