shadcn.io is not affiliated with official shadcn/ui
Empty State examples · Data
No Notifications Empty State for React
An empty notifications list with a bell icon and an all-caught-up message, with no action.
Nothing to see here is good news for notifications. A bell icon, the title No notifications and a cheerful all-caught-up line make the empty list read as done, not broken, and there is no button because there is nothing to do. Use it in notification centers and activity feeds.
Preview
Installation
FAQ
What does the empty notification list say?
EmptyTitle is "No notifications". EmptyDescription is "You're all caught up! We'll notify you when something new happens."
How is the bell shown?
BellIcon is inside EmptyMedia with variant="icon". There is no class on the icon itself, so the icon tile sizes it.
Where is the action?
There is no EmptyContent and no button. The block is EmptyHeader only: media, title, and description.
How do I add a settings link?
Add EmptyContent after the header and put a Button or an anchor in it. This file leaves that part out.
Related
- Empty Chart Empty StateA chart's empty state with a large bar
- No Messages Empty StateAn empty inbox with a message icon and a
- Empty with Link Action Empty StateAn empty state with a book icon and a
- Badge with Text (Standard)A default badge with a short label for a
- Button with Text (Standard)The one filled action
- Standard CardA basic card with a title, a description