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 { ReorderList } from "@/components/motion-lexicon/reorder-list"type Item = { id: string; title: string }const initial: Item[] = [ { id: "1", title: "Morning run" }, { id: "2", title: "Read 20 pages" }, { id: "3", title: "Plan the week" }, { id: "4", title: "Clear the inbox" },]export default function ReorderListDemo() { const [items, setItems] = useState<Item[]>(initial) return ( <ReorderList<Item> label="Today's tasks" className="max-w-sm" items={items} getId={(item) => item.id} getLabel={(item) => item.title} onReorder={setItems} > {(item) => <p className="text-sm font-medium">{item.title}</p>} </ReorderList> )}