Launch sale — 60% off Pro
Contact
ComboboxWith States

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Combobox - No Results Variation

A React combobox with enhanced CommandEmpty showing Search icon and Try different search term message for no results state with shadcn/ui

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Searches fail—helpful feedback guides refinement. This React combobox enhances CommandEmpty with custom UI replacing default text using Search icon, No results heading, and Try a different search term suggestion when filtered items match nothing. Built with shadcn/ui Command and Popover featuring centered flex-col layout with gap-2 spacing. The no results pattern improves search UX—perfect for fuzzy search, strict filters, typo-prone searches, or anywhere query returns zero matches giving users clear feedback and actionable next step encouraging search refinement instead of abandoning dropdown.

Pattern created by @haydenbleasel

Installation

Questions you might have