Empty State
Friendly placeholders for empty lists, no search results and errors, each with a next step.
- Component
- Light and dark
- Updated 5 months ago
Paste this into your agent.
Add what to show when there's nothing to show to <the page you want it on>. Install it with: npx shadcn add @ollie/empty-state Pass icon, title and description in as props. Handle onAction yourself; don't fetch inside the component. Keep the ocean theme tokens.
Other takes
No files
This folder is empty for now.
No projects
Create your first project to get started.
New projectSomething went wrong
We couldn't load this data. Try again later.
No results found
Try adjusting your search or filters.
Empty
Nothing to show.
No documents
Documents you upload or create will appear here. You can add files, organise them into folders, and share them with your team.
No items
Drop content here to get started.
More components
- BannerA full-width message at the top of the page.
- Status badgeA coloured label for a status, from your own list.
- Wizard dialogA form in steps, checked as you go.
- Form dialogA form in a pop-up, with save and cancel.
- Confirm dialog"Are you sure?" done properly, with a red version for deletes.
- Job trayA tray of background jobs and how far along they are.
- Job progressOne job's steps and progress, in detail.
- CommentsA comment thread with a box to reply.
- Offline bannerTells people when they've lost connection, and when it's back.