A searchable dropdown that filters options as you type.
Copy the command below and run it in your terminal.
bunx @sivir/ui add combobox
pnpm dlx @sivir/ui add combobox
npx @sivir/ui add combobox
yarn dlx @sivir/ui add combobox
Import and use the Combobox components:
import * as Combobox from '$lib/sivir/components/combobox'; let selected = $state('next'); <Combobox.Root> <Combobox.Trigger>{selected}</Combobox.Trigger> <Combobox.Content> <Combobox.Item value="next" label="Next.js" callback={() => (selected = 'next')} /> </Combobox.Content> </Combobox.Root>