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 { Home, Mail, Search, Settings } from "lucide-react"import { FloatingDock } from "@/components/motion-lexicon/floating-dock"export default function FloatingDockDemo() { const [active, setActive] = useState("home") const items = [ { id: "home", label: "Home", icon: <Home className="size-5" />, onSelect: () => setActive("home") }, { id: "search", label: "Search", icon: <Search className="size-5" />, onSelect: () => setActive("search") }, { id: "mail", label: "Mail", icon: <Mail className="size-5" />, onSelect: () => setActive("mail") }, { id: "settings", label: "Settings", icon: <Settings className="size-5" />, onSelect: () => setActive("settings") }, ] return ( <div className="flex w-full max-w-md justify-center"> <FloatingDock label="Main navigation" items={items} activeId={active} /> </div> )}