shadcn.io is not affiliated with official shadcn/ui
Empty State examples · Data
No Messages Empty State for React
An empty inbox with a message icon and a New Message button.
An empty inbox that invites the first message. A message icon, the title No messages yet and a one-line description sit above a New Message button with a plus icon. Use it in chat, direct messages and support inboxes.
Preview
Installation
FAQ
What is on the New Message button?
A default Button in EmptyContent, with a PlusIcon icon before the label New Message. The file does not open a composer. Add that in the button's click handler.
What icon is above the title?
MessageSquareIcon in EmptyMedia with variant="icon". The plus on the button is a second icon.
What does the empty inbox say?
EmptyTitle is "No messages yet". EmptyDescription says to start a conversation by sending the first message.
Which parts make up the header?
EmptyHeader holds EmptyMedia, then EmptyTitle, then EmptyDescription. EmptyContent is the next sibling and holds the button.
Related
- No Notifications Empty StateAn empty notifications list with a bell
- Empty with Single Action Empty StateAn empty projects state with a plus icon
- No Files Empty StateAn empty folder with a file icon and
- Button with Text (Standard)The one filled action
- Standard DialogA share dialog with a read-only link, a
- Input with LabelA text input with a label above it