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 { FilterGrid, FilterGridHighlight } from "@/components/ui/filter-grid"const projects = [ { id: "1", name: "Atlas Dashboard", description: "Sales analytics overview", category: "engineering" }, { id: "2", name: "Brand Refresh", description: "New logo and color system", category: "design" }, { id: "3", name: "Launch Campaign", description: "Email and social rollout", category: "marketing" }, { id: "4", name: "Mobile Onboarding", description: "Flows for first-time users", category: "design" }, { id: "5", name: "Billing API", description: "Invoices and payment webhooks", category: "engineering" }, { id: "6", name: "Case Studies", description: "Customer stories for the website", category: "marketing" },]export default function FilterGridDemo() { return ( <FilterGrid className="h-[360px] w-full max-w-lg" items={projects} getKey={(item) => item.id} getCategory={(item) => item.category} getText={(item) => `${item.name} ${item.description}`} categories={[ { value: "design", label: "Design" }, { value: "engineering", label: "Engineering" }, { value: "marketing", label: "Marketing" }, ]} itemLabel={{ one: "project", other: "projects" }} searchPlaceholder="Search projects" renderItem={(item, { query }) => ( <div className="w-full rounded-lg border p-3"> <p className="text-sm font-medium"> <FilterGridHighlight text={item.name} query={query} /> </p> <p className="text-muted-foreground mt-1 text-xs"> <FilterGridHighlight text={item.description} query={query} /> </p> </div> )} /> )}