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 DataColumn } from "@/components/patterns/data-table";type User = { id: string; name: string; role: string; score: number };const users: User[] = [ { id: "1", name: "Olivia Martin", role: "Admin", score: 92 }, { id: "2", name: "Jackson Lee", role: "Editor", score: 78 }, { id: "3", name: "Isabella Nguyen", role: "Viewer", score: 85 }, { id: "4", name: "William Kim", role: "Editor", score: 64 }, { id: "5", name: "Sofia Davis", role: "Viewer", score: 71 },];const columns: DataColumn<User>[] = [ { id: "name", header: "Name", value: (row) => row.name, sortable: true }, { id: "role", header: "Role", value: (row) => row.role }, { id: "score", header: "Score", value: (row) => row.score, sortable: true },];export default function DataTableDemo() { return ( <div className="w-full max-w-lg"> <DataTable rows={users} columns={columns} getRowId={(row) => row.id} caption="Users" /> </div> );}