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 { Autocomplete } from '@/components/ui/autocomplete/index'import { Input, Label, ListBox, ListBoxItem, Popover, SearchField } from 'react-aria-components'export default function AutocompleteDemo() { return ( <div className='w-full max-w-sm'> <Autocomplete> <SearchField className='grid gap-2'> <Label className='text-sm font-medium leading-none'>Fruit</Label> <Input placeholder='Search fruits...' className='flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm outline-none focus-visible:ring-1 focus-visible:ring-ring' /> </SearchField> <Popover className='w-full rounded-md border bg-popover p-1 text-popover-foreground shadow-md'> <ListBox className='outline-none'> <ListBoxItem id='apple' className='cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground'>Apple</ListBoxItem> <ListBoxItem id='banana' className='cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground'>Banana</ListBoxItem> <ListBoxItem id='cherry' className='cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground'>Cherry</ListBoxItem> <ListBoxItem id='grape' className='cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground'>Grape</ListBoxItem> <ListBoxItem id='mango' className='cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground'>Mango</ListBoxItem> </ListBox> </Popover> </Autocomplete> </div> )}