Skip to content
Discussion options

You must be logged in to vote

hey, combobox isnt actually a standalone component in shadcn — its more of a pattern/recipe built using <Popover> + <Command>. thats why the registry doesnt have a combobox.json file.

to get it working, install the pieces separately:

pnpm dlx shadcn@latest add popover command

then follow the combobox example from the docs: https://ui.shadcn.com/docs/components/combobox

basically u combine Popover + Command to build the combobox urself. its not a single installable component like button or input 👍

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by DMOShareIT
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants