Empty State

Friendly empty state with illustration and CTA.

No projects yet

Get started by creating your first project. It only takes a minute and you can invite your team later.

Learn more about projects

Tailwind CSS
<div class="max-w-sm mx-auto text-center py-12 px-6">
  <div class="w-20 h-20 mx-auto rounded-3xl bg-indigo-50 flex items-center justify-center mb-5">
    <svg class="w-10 h-10 text-indigo-300" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"/></svg>
  </div>
  <h3 class="text-lg font-bold text-slate-900 dark:text-white">No projects yet</h3>
  <p class="mt-2 text-sm text-slate-500 dark:text-slate-400 leading-relaxed">Get started by creating your first project. It only takes a minute and you can invite your team later.</p>
  <button class="mt-6 px-6 py-2.5 rounded-xl bg-indigo-600 text-white text-sm font-bold hover:bg-indigo-500 transition-colors">Create project</button>
  <p class="mt-3 text-xs text-slate-400"><a href="#" class="text-indigo-600 hover:underline font-medium">Learn more</a> about projects</p>
</div>

Free to use in personal and commercial projects. No attribution required.

Variants

Same component, different looks. Preview each one live and copy the code you like.

No results

Use the no-results state for empty searches with a clear reset action.

No results found

Nothing matches "wireframe kits". Try a different search term.

Tailwind CSS

Dark

The dark empty state belongs in dark dashboards and media apps.

No projects yet

Get started by creating your first project. It only takes a minute.

Tailwind CSS

All caught up

Celebrate the empty inbox or notification feed instead of apologizing for it.

You're all caught up

No new notifications. Enjoy the quiet.

Tailwind CSS

About this empty state

Empty states are the most overlooked UI. Every list, inbox, and dashboard starts empty, and what users see in that moment decides whether they engage or bounce. A good empty state UI has three parts: a friendly visual, one sentence explaining the value, and a single clear CTA.

This snippet follows that formula exactly. The illustration placeholder (swap for your own art), the headline naming the state, the helpful subtext, and the prominent create button. The secondary learn-more link catches the curious without competing with the CTA.

Never show a blank page or a cryptic 'No data'. Every empty state is an onboarding opportunity. The CTA should create the missing thing, not navigate to documentation.

Every product greets new users with empty lists, empty inboxes, empty dashboards, and that first impression decides whether they engage or bounce. A blank page says nothing here and offers no path forward; an empty state converts the dead end into onboarding by showing what belongs, why it's empty, and what to do next. It is the most overlooked UI because designers rarely design the beginning.

The formula here is exact: a max-w-sm mx-auto text-center py-12 container holding a w-20 h-20 rounded-3xl bg-indigo-50 icon tile (swap in your own illustration), a text-lg font-bold headline naming the state, a text-sm text-slate-500 subtext with the value proposition, and a mt-6 bg-indigo-600 CTA that creates the missing thing. A quiet secondary link offers the curious a way to learn more without stealing focus from the main CTA.

Match the illustration style to your brand: line icons for minimal products, richer art for playful ones. For no-results searches, replace the create CTA with suggestion chips for alternative queries. Make the CTA verb specific: Create project beats Get started because it names the outcome.

The copy mistake is writing the headline as a system status (No data found) instead of naming what belongs there (No projects yet). The first reads as an error and worries the user; the second orients them. Headline should name the empty thing, subtext should say what to do about it, and the CTA should do it.

Where to use it

  • ✓ Empty inboxes
  • ✓ New project dashboards
  • ✓ Search with no results
  • ✓ Empty carts and lists

Customization tips

Use custom illustrations matching your brand style. Tailor the CTA to create the missing item. For search no-results, suggest alternative queries instead of a create button.

Design notes

When to use

An empty state turns a blank screen into guidance, like this No projects yet panel that pairs a friendly illustration with a single Create project button. It works because it answers three questions at once: what belongs here, why it is empty, and what to do next. The Learn more link gives curious users a path without distracting those ready to act.

What to avoid

Do not show a generic illustration with no action, an empty state without a next step is just decoration on a dead end. Avoid blaming language like you have not created anything yet, which reads as a scolding. And do not reuse the same empty state everywhere, a failed search and a fresh account need different words and different actions.

Accessibility

The heading should sit in the page heading hierarchy so screen reader users land on it when the content area loads. If the illustration is purely decorative, hide it from assistive tech so it does not interrupt the message.

Frequently asked questions

What should an empty state include?

Three parts: a visual (illustration or icon), one sentence of helpful context, and a single CTA that creates the missing thing. Optionally a secondary learn-more link.

Empty state vs error state?

Empty states are neutral (nothing here yet) with a constructive CTA. Error states indicate failure with retry options. They look similar but feel different.

Should empty states have illustrations?

Yes, a simple illustration softens the emptiness and reinforces brand. Keep it abstract; literal empty boxes feel depressing.

How do I design a no search results empty state?

Echo the query back, for example "No results for 'blue shoes'", so users know what was searched. Offer one-click escapes: clear the search, remove filters, or browse popular items. This differs from a first-run empty state because the user already tried something that failed.

Where can I get free illustrations for empty states?

unDraw and Humaaans offer free MIT-licensed SVG illustrations you can recolor to your brand. For simpler cases, a large soft-tinted icon in a rounded container works without any illustration file. Whatever you pick, keep one consistent illustration style across all empty states.

Should empty states look different in dark mode?

Yes. Illustrations designed for light backgrounds can look harsh or invisible on dark ones, so provide dark variants or use illustrations with transparent backgrounds and adaptive colors. Check text contrast separately in both modes. A quick way is to slightly raise illustration opacity in dark mode.