shadcn.io is not affiliated with official shadcn/ui
Empty State examples · Search
No Search Results Empty State for React
An empty state for a search with no results, with a search icon and a hint to try other keywords.
A search with no results, and a hint about what to try next. A search icon, the title No results found and a description suggesting different keywords make up the whole state, with no action. Use it under a search field in catalogs, docs or settings.
Preview
Installation
FAQ
Does this empty state show the search term?
No. EmptyTitle is "No results found". EmptyDescription says nothing matched and to try different keywords. The term is not interpolated in this file.
Is there a button?
No. The file stops at EmptyHeader. Add EmptyContent with a Button when you want a clear or browse action.
How long is the description?
One sentence in EmptyDescription. That part is muted. There is no second paragraph.
Related
- No Matches Found Empty StateAn empty state for a search with no
- Try Different Keywords Empty StateAn empty search state with a larger
- No Filter Results Empty StateAn empty state for filters that match
- Empty Table Empty StateAn empty table state with a table icon
- Input with LabelA text input with a label above it
- Standard CardA basic card with a title, a description