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 { StickyTableHeader } from "@/components/ui/sticky-table-header"import { Badge } from "@/components/ui/badge"const invoices = [ { id: "INV-1001", customer: "Olivia Martin", status: "Paid", amount: "$250.00" }, { id: "INV-1002", customer: "Jackson Lee", status: "Pending", amount: "$150.00" }, { id: "INV-1003", customer: "Isabella Nguyen", status: "Paid", amount: "$320.50" }, { id: "INV-1004", customer: "William Kim", status: "Overdue", amount: "$80.00" }, { id: "INV-1005", customer: "Sofia Davis", status: "Paid", amount: "$410.75" }, { id: "INV-1006", customer: "Ethan Brown", status: "Pending", amount: "$99.00" }, { id: "INV-1007", customer: "Ava Wilson", status: "Paid", amount: "$220.00" }, { id: "INV-1008", customer: "Noah Taylor", status: "Overdue", amount: "$540.00" }, { id: "INV-1009", customer: "Mia Anderson", status: "Paid", amount: "$75.25" }, { id: "INV-1010", customer: "Liam Thomas", status: "Pending", amount: "$310.00" },]export default function StickyTableHeaderDemo() { return ( <div className="w-full max-w-lg"> <StickyTableHeader maxHeight={260} stickyColumns={1} className="rounded-md border bg-card [&_thead_th]:!bg-card" > <table className="w-full text-sm"> <thead> <tr> <th className="px-4 py-3 text-left font-medium">Invoice</th> <th className="px-4 py-3 text-left font-medium">Customer</th> <th className="px-4 py-3 text-left font-medium">Status</th> <th className="px-4 py-3 text-right font-medium">Amount</th> </tr> </thead> <tbody> {invoices.map((invoice) => ( <tr key={invoice.id} className="border-b last:border-0"> <td className="px-4 py-3 font-medium">{invoice.id}</td> <td className="px-4 py-3">{invoice.customer}</td> <td className="px-4 py-3"> <Badge variant="secondary">{invoice.status}</Badge> </td> <td className="px-4 py-3 text-right">{invoice.amount}</td> </tr> ))} </tbody> </table> </StickyTableHeader> </div> )}