Empty state
An empty state fills the space where content would be. It says what's missing, why when that isn't obvious, and what to do next. Data table shows one when it has no rows, with Clear filters when a search or filter hid them, and Command menu and Filter menu show the small one as their no results line.
No members yet
Invite people to work on this project with you.
Examples
No matching filters
No matching members
Try another search, or clear the filters.
You're all caught up
Anatomy
A centred column: an icon in a muted tile, the title, a description and one or two buttons. Only the title is required.
No members yet
Invite people to work on this project with you.
- Media
- Title
- Description
- Actions
- Empty state
Guidelines
- 01Name what's missing in the title: No members yet, not Nothing here.
- 02Tell first-run empty apart from no matches. One invites people to add something, the other to clear a search.
- 03One primary action at most. A second one, if any, is outline or ghost.
- 04Leave the icon out of small empty states; a menu has no room for it.
Best practices
No members yet
Nothing here
There is no data to display at this time.
Accessibility
There's nothing to focus but its buttons, which are ordinary buttons in the tab order.
- 01The title and description are plain text, read in order with what's around them.
- 02The icon is hidden from screen readers; the title says it in words.
- 03Where an empty state replaces results as someone types, put it in a live region so the change is announced. Command menu's already is.
Related components
- Data tableA table for lists people work through: selection, bulk actions, locked rows, pinned columns and a phone layout.
- Command menuA Cmd+K palette with nested pages, recent commands, ranked search and a preview pane.
- Filter menuA filter menu of fields and values that turns into a search as you type.