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 { useState } from "react"import { DragToReorderPrimitive, type ReorderPrimitiveItem } from "@/components/motion-lexicon/primitives/drag-to-reorder"import { GripVerticalIcon } from "lucide-react"const initialItems: ReorderPrimitiveItem[] = [ { id: "design", content: "Design review" }, { id: "build", content: "Build release candidate" }, { id: "qa", content: "QA sign-off" }, { id: "ship", content: "Ship to production" },]export default function DragToReorderDemo() { const [items, setItems] = useState<ReorderPrimitiveItem[]>(initialItems) return ( <div className="w-full max-w-sm"> <DragToReorderPrimitive items={items} onReorder={setItems} className="flex flex-col gap-2" itemClassName="flex cursor-grab items-center gap-3 rounded-md border bg-background px-3 py-2 text-sm font-medium shadow-xs active:cursor-grabbing" /> </div> )}