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 { Home, Inbox, Search, Settings } from "lucide-react"import { ExpandableDock, type ExpandableDockItem } from "@/components/ui/expandable-dock"const items: ExpandableDockItem[] = [ { id: "search", label: "Search", icon: <Search />, panel: <input placeholder="Search..." className="h-9 w-72 rounded-md bg-transparent px-2 text-sm outline-none" />, }, { id: "home", label: "Home", icon: <Home /> }, { id: "inbox", label: "Inbox", icon: <Inbox />, panel: ( <ul className="w-72 text-sm"> <li className="rounded-md px-2 py-1.5 hover:bg-muted">Invoice paid</li> <li className="rounded-md px-2 py-1.5 hover:bg-muted">New comment on your post</li> </ul> ), }, { id: "settings", label: "Settings", icon: <Settings /> },]export default function ExpandableDockDemo() { return ( <div className="relative h-72 w-full max-w-lg"> <div className="absolute bottom-4 left-1/2 -translate-x-1/2"> <ExpandableDock items={items} defaultOpen="search" /> </div> </div> )}