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 { CheckIcon } from 'lucide-react'import { Label } from '@/components/ui/label'import { Switch, SwitchIcon, SwitchThumb } from '@/components/odysseyui/primitives/base/switch'export default function SwitchDemo() { return ( <div className='flex w-full max-w-sm flex-col gap-3'> <div className='flex items-center justify-between gap-4 rounded-lg border p-4'> <div className='grid gap-1'> <Label htmlFor='push'>Push notifications</Label> <p className='text-sm text-muted-foreground'>Get alerts about new activity.</p> </div> <Switch id='push' defaultChecked className='relative inline-flex h-6 w-11 shrink-0 items-center rounded-full bg-input transition-colors data-[checked]:bg-primary'> <SwitchThumb className='flex h-5 w-5 translate-x-0.5 items-center justify-center rounded-full bg-background shadow-sm data-[checked]:translate-x-[22px]'> <SwitchIcon position='thumb'> <CheckIcon className='size-3 text-primary' /> </SwitchIcon> </SwitchThumb> </Switch> </div> <div className='flex items-center justify-between gap-4 rounded-lg border p-4'> <div className='grid gap-1'> <Label htmlFor='marketing'>Marketing emails</Label> <p className='text-sm text-muted-foreground'>Receive tips and product updates.</p> </div> <Switch id='marketing' className='relative inline-flex h-6 w-11 shrink-0 items-center rounded-full bg-input transition-colors data-[checked]:bg-primary'> <SwitchThumb className='block h-5 w-5 translate-x-0.5 rounded-full bg-background shadow-sm data-[checked]:translate-x-[22px]' /> </Switch> </div> </div> )}