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 { ChevronDownIcon } from "lucide-react"import * as Rac from "react-aria-components"import { ComboBox } from "@/components/ui/oui-combo-box"const fruits = [ { id: "apple", name: "Apple" }, { id: "banana", name: "Banana" }, { id: "cherry", name: "Cherry" }, { id: "grape", name: "Grape" },]export default function ComboBoxDemo() { return ( <ComboBox className="flex w-full max-w-xs flex-col gap-2" defaultInputValue="Banana"> <Rac.Label className="text-sm font-medium">Fruit</Rac.Label> <div className="relative"> <Rac.Input placeholder="Select a fruit" className="h-9 w-full rounded-md border border-input bg-transparent px-3 pr-9 text-sm shadow-xs outline-none focus-visible:ring-2 focus-visible:ring-ring" /> <Rac.Button className="absolute inset-y-0 right-0 flex w-9 items-center justify-center text-muted-foreground"> <ChevronDownIcon className="size-4" /> </Rac.Button> </div> <Rac.Popover className="w-[var(--trigger-width)] rounded-md border bg-popover p-1 text-popover-foreground shadow-md"> <Rac.ListBox items={fruits} className="max-h-60 overflow-auto outline-none"> {(item: { id: string; name: string }) => ( <Rac.ListBoxItem id={item.id} textValue={item.name} className="cursor-default rounded-sm px-2 py-1.5 text-sm outline-none data-[focused]:bg-accent data-[focused]:text-accent-foreground" > {item.name} </Rac.ListBoxItem> )} </Rac.ListBox> </Rac.Popover> </ComboBox> )}