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 { DownloadIcon, Trash2Icon } from "lucide-react"import { BulkAction, RowSelectionTable } from "@/components/ui/row-selection"const invoices = [ { id: "inv_1", customer: "Acme Corp", status: "Paid", amount: 1200 }, { id: "inv_2", customer: "Globex", status: "Pending", amount: 480 }, { id: "inv_3", customer: "Initech", status: "Overdue", amount: 920 }, { id: "inv_4", customer: "Umbrella", status: "Paid", amount: 2150 },]export default function RowSelectionDemo() { return ( <RowSelectionTable className="w-full max-w-lg" caption="Invoices" rows={invoices} getRowId={(r) => r.id} getRowLabel={(r) => r.customer} noun={{ one: "invoice", other: "invoices" }} defaultSelected={["inv_2", "inv_3"]} columns={[ { key: "customer", header: "Customer" }, { key: "status", header: "Status" }, { key: "amount", header: "Amount", numeric: true, cell: (r) => `$${r.amount.toLocaleString("en-US")}` }, ]} actions={() => ( <> <BulkAction icon={<DownloadIcon size={14} />}>Export</BulkAction> <BulkAction variant="danger" icon={<Trash2Icon size={14} />}> Delete </BulkAction> </> )} /> )}