Skip to content

Feedback

Empty state

Also calledno-results statezero stateblank slate

A helpful message shown when a view has no items, explaining why it is empty and what the person can do next.

How people describe it

  • “message saying there is nothing here yet”
  • “empty list with a suggestion to add something”
  • “no results found with advice to change my search”

Good for

  • A new account with no projects
  • Searches with no matching results

Don’t mix it up with

  • Represents content still loading; an empty state appears after loading confirms there are no items.

What your library calls it

LIBRARYCALLS IT
shadcn/uiEmpty

Accessibility checklist

  • Use a meaningful heading and clear next step
  • Hide decorative artwork from assistive technology
  • Announce dynamically updated result counts politely

Try it

No projects yet

Create your first project to get started.

Press Create project to leave the empty state.

Prompt

Add an empty state explaining why no items appear and offering a next step.

~19 estimated prompt tokensDetailed: ~62 estimated prompt tokens

Rough estimate for prompt text only; actual counts vary by model and context.

<section aria-labelledby="empty-title">
  <h2 id="empty-title">No projects yet</h2>
  <p>Create a project to start organizing your work.</p>
  <a href="/projects/new/" style="display:inline-flex; align-items:center; min-height:44px">Create your first project</a>
</section>