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 { Switch, SwitchThumb } from "@/components/odysseyui/primitives/headless/switch"import { Label } from "@/components/ui/label"export default function SwitchDemo() { const [enabled, setEnabled] = useState(true) return ( <div className="flex w-full max-w-sm items-center justify-between gap-4 rounded-lg border p-4"> <div className="grid gap-1"> <Label htmlFor="notifications">Push notifications</Label> <p className="text-sm text-muted-foreground">Receive alerts about new messages.</p> </div> <Switch id="notifications" checked={enabled} onChange={(value: unknown) => setEnabled(value as boolean)} className="relative inline-flex h-6 w-11 shrink-0 items-center justify-start rounded-full bg-input p-0.5 outline-none transition-colors data-checked:justify-end data-checked:bg-primary focus-visible:ring-2 focus-visible:ring-ring" > <SwitchThumb className="block size-5 rounded-full bg-background shadow-sm" /> </Switch> </div> )}