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 { ExpandableRows, type ExpandableColumn } from "@/components/ui/expandable-rows"type Invoice = { id: string; customer: string; amount: number; notes: string }const invoices: Invoice[] = [ { id: "INV-001", customer: "Olivia Martin", amount: 1250, notes: "Paid in full by bank transfer on March 3." }, { id: "INV-002", customer: "Liam Johnson", amount: 420.5, notes: "Awaiting approval from the finance team." }, { id: "INV-003", customer: "Sofia Davis", amount: 980, notes: "Net 30 terms. Reminder sent on April 2." },]const columns: ExpandableColumn<Invoice>[] = [ { key: "customer", header: "Customer" }, { key: "amount", header: "Amount", numeric: true, cell: (r) => `$${r.amount.toFixed(2)}` },]export default function ExpandableRowsDemo() { return ( <ExpandableRows className="w-full max-w-lg" caption="Invoices" columns={columns} rows={invoices} getRowId={(r) => r.id} defaultExpanded={["INV-002"]} renderDetail={(r) => <p className="text-sm text-muted-foreground">{r.notes}</p>} /> )}