shadcn.io is not affiliated with official shadcn/ui
Empty State examples · Data
Empty Table Empty State for React
An empty table state with a table icon and an Add Entry button.
A table with no rows yet, and the button that adds the first one. A table icon, the title No data to display and a description sit above an Add Entry button with a plus icon. Use it in place of an empty table body in admin panels and dashboards.
Preview
Installation
FAQ
What is the Add Entry button?
A default Button in EmptyContent with a PlusIcon icon and the label Add Entry. The file does not insert a row. Handle that on click.
Which icon is in the header?
TableIcon is in EmptyMedia with variant="icon". PlusIcon is only on the button.
What does the empty table say?
EmptyTitle is "No data to display". EmptyDescription says there are no records yet and to add the first entry.
Does this render table rows?
No. It is a standalone Empty, with no table headers or cells. Put it where the table body would have been.
Related
- No Files Empty StateAn empty folder with a file icon and
- Empty with Single Action Empty StateAn empty projects state with a plus icon
- Basic Data Table with CheckboxesA table of products with a checkbox on
- Empty Chart Empty StateA chart's empty state with a large bar
- Button with Text (Standard)The one filled action
- Standard CardA basic card with a title, a description