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 { Calendar, CreditCard, Plus, Settings, Users } from "lucide-react"import { Button } from "@/components/ui/button"import { CommandPalette, type CommandItem } from "@/components/motion/command-palette"export default function CommandPaletteDemo() { const [open, setOpen] = useState(true) const items: CommandItem[] = [ { id: "new-event", label: "Create new event", group: "Actions", icon: Plus, hint: "N", onSelect: () => {} }, { id: "calendar", label: "Open calendar", group: "Navigation", icon: Calendar, onSelect: () => {} }, { id: "team", label: "Invite team members", group: "Navigation", icon: Users, onSelect: () => {} }, { id: "billing", label: "Billing settings", group: "Settings", icon: CreditCard, onSelect: () => {} }, { id: "preferences", label: "Preferences", group: "Settings", icon: Settings, hint: ",", onSelect: () => {} }, ] return ( <div className="flex w-full flex-wrap items-center gap-2"> <Button variant="outline" onClick={() => setOpen(true)}> Open command palette </Button> <CommandPalette items={items} open={open} onOpenChange={setOpen} /> </div> )}