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 { AccountSwitcher } from "@/components/account-switcher/account-switcher"import type { SwitcherItem } from "@/components/account-switcher/types"import { Button } from "@/components/ui/button"const items: ReadonlyArray<SwitcherItem> = [ { key: "acme", label: "Acme Corp" }, { key: "globex", label: "Globex Inc" }, { key: "initech", label: "Initech LLC" },]export default function AccountSwitcherDemo() { const [activeKey, setActiveKey] = useState<string | null>("acme") return ( <div className="w-full max-w-sm"> <AccountSwitcher items={items} activeKey={activeKey} onSelect={(item) => setActiveKey(item.key)} footerSlot={ <Button variant="ghost" size="sm" className="w-full justify-start"> Create account </Button> } /> </div> )}