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 { Menubar, type MenubarMenu } from "@/components/menubar"const menus: MenubarMenu[] = [ { id: "file", label: "File", items: [ { id: "new", kind: "item", label: "New Tab", shortcut: "⌘T" }, { id: "new-window", kind: "item", label: "New Window", shortcut: "⇧⌘N" }, { id: "sep-1", kind: "separator" }, { id: "share", kind: "submenu", label: "Share", items: [ { id: "email", kind: "item", label: "Email link" }, { id: "messages", kind: "item", label: "Messages" }, ], }, { id: "sep-2", kind: "separator" }, { id: "close", kind: "item", label: "Close Tab", shortcut: "⌘W" }, ], }, { id: "edit", label: "Edit", items: [ { id: "undo", kind: "item", label: "Undo", shortcut: "⌘Z" }, { id: "redo", kind: "item", label: "Redo", shortcut: "⇧⌘Z" }, { id: "sep-3", kind: "separator" }, { id: "copy", kind: "item", label: "Copy", shortcut: "⌘C" }, { id: "paste", kind: "item", label: "Paste", shortcut: "⌘V" }, ], }, { id: "view", label: "View", items: [ { id: "toolbar", kind: "checkbox", label: "Show Toolbar", checked: true }, { id: "sidebar", kind: "checkbox", label: "Show Sidebar", checked: false }, { id: "sep-4", kind: "separator" }, { id: "name", kind: "radio", label: "Sort by Name", checked: true }, { id: "date", kind: "radio", label: "Sort by Date", checked: false }, ], },]export default function MenubarDemo() { return <Menubar menus={menus} onSelect={(menuId, item) => console.log(menuId, item.id)} />}