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 { BookOpenIcon, CodeIcon, LayersIcon } from "lucide-react"import { FloatingIndex } from "@/components/ui/floating-index"const items = [ { id: "intro", label: "Introduction", icon: <BookOpenIcon /> }, { id: "usage", label: "Usage", icon: <LayersIcon /> }, { id: "api", label: "API", icon: <CodeIcon /> },]export default function FloatingIndexDemo() { return ( <div className="relative h-[400px] w-full max-w-lg"> <FloatingIndex className="absolute" label="Contents" items={items} /> </div> )}