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 { SortableTable, type SortableColumn } from "@/components/motion-lexicon/sortable-table"type Product = { id: string; name: string; price: number; stock: number }const products: Product[] = [ { id: "lamp", name: "Desk Lamp", price: 48, stock: 12 }, { id: "chair", name: "Mesh Chair", price: 229, stock: 4 }, { id: "mug", name: "Ceramic Mug", price: 14, stock: 86 }, { id: "desk", name: "Standing Desk", price: 549, stock: 2 }, { id: "pad", name: "Desk Mat", price: 26, stock: 40 },]const columns: SortableColumn<Product>[] = [ { id: "name", header: "Name", width: "minmax(0, 2fr)", value: (p) => p.name }, { id: "stock", header: "Stock", numeric: true, align: "end", value: (p) => p.stock }, { id: "price", header: "Price", numeric: true, align: "end", value: (p) => p.price, cell: (p) => `$${p.price}` },]export default function SortableTableDemo() { return ( <div className="w-full max-w-lg"> <SortableTable rows={products} columns={columns} getRowId={(p) => p.id} label="Products" defaultSort={{ columnId: "price", direction: "desc" }} /> </div> )}