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 { useState } from "react"import ExpandableNavbar, { type ExpandableNavbarItem,} from "@/components/smoothui/expandable-navbar/index"const items: ExpandableNavbarItem[] = [ { id: "products", label: "Products", panel: ( <div className="grid grid-cols-2 gap-3 text-sm"> <div> <p className="font-medium">Analytics</p> <p className="text-muted-foreground">Track how people use your app.</p> </div> <div> <p className="font-medium">Automations</p> <p className="text-muted-foreground">Run repeat tasks on autopilot.</p> </div> </div> ), }, { id: "company", label: "Company", panel: ( <div className="grid grid-cols-2 gap-3 text-sm"> <div> <p className="font-medium">About us</p> <p className="text-muted-foreground">Our team and our story.</p> </div> <div> <p className="font-medium">Careers</p> <p className="text-muted-foreground">Join us and build with us.</p> </div> </div> ), }, { id: "resources", label: "Resources", panel: ( <div className="grid grid-cols-2 gap-3 text-sm"> <div> <p className="font-medium">Documentation</p> <p className="text-muted-foreground">Guides for every feature.</p> </div> <div> <p className="font-medium">Support</p> <p className="text-muted-foreground">Get help from our team.</p> </div> </div> ), },]export default function ExpandableNavbarDemo() { const [openId, setOpenId] = useState<string | null>("products") return ( <ExpandableNavbar items={items} onOpenChange={setOpenId} openId={openId} /> )}