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 { DataTable, type DataTableColumn } from '@/components/spectrumui/data-table';type Invoice = { id: string; customer: string; status: string; amount: number;};const invoices: Invoice[] = [ { id: 'INV-001', customer: 'Olivia Martin', status: 'Paid', amount: 250 }, { id: 'INV-002', customer: 'Jackson Lee', status: 'Pending', amount: 150 }, { id: 'INV-003', customer: 'Isabella Nguyen', status: 'Paid', amount: 320 }, { id: 'INV-004', customer: 'William Kim', status: 'Overdue', amount: 90 }, { id: 'INV-005', customer: 'Sofia Davis', status: 'Paid', amount: 410 },];const columns: DataTableColumn<Invoice>[] = [ { id: 'customer', header: 'Customer', sortable: true }, { id: 'status', header: 'Status', sortable: true }, { id: 'amount', header: 'Amount', sortable: true, numeric: true, cell: (row) => `$${row.amount.toFixed(2)}`, },];export default function DataTableDemo() { return ( <DataTable data={invoices} columns={columns} rowId={(row) => row.id} searchable selectable defaultSort={{ columnId: 'customer', direction: 'asc' }} className="w-full max-w-lg" /> );}