Autocomplete with a suggestion list. Open, type, select, and chips.
pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/combobox.jsonpnpm dlx shadcn@latest add @stylexcn/combobox<Combobox items={frameworks}>
<ComboboxInput placeholder="Select a framework" />
<ComboboxContent>
<ComboboxEmpty>No items found.</ComboboxEmpty>
<ComboboxList>
{(item) => (
<ComboboxItem key={item} value={item}>
{item}
</ComboboxItem>
)}
</ComboboxList>
</ComboboxContent>
</Combobox>