Empty states are easy to ignore during development.
A dashboard usually looks good when it contains data.
A project list looks complete when several projects already exist.
An analytics page feels useful when charts are filled with numbers.
But new users often see something very different.
No projects.
No files.
No messages.
No reports.
No saved searches.
No activity.
That first empty screen can become one of the most important moments in the product.
Unfortunately, empty states are often implemented at the end of development with:
a gray icon
one sentence
and a button.
A better approach is to prototype them earlier, even before the final visual design is ready.
Why Empty States Matter
An empty state is not simply missing content.
It is a product state.
The interface should explain:
what this area is for
why nothing appears yet
what the user can do next
what will happen after they take action
Consider a project dashboard.
Weak empty state:
No projects found.
Better empty state:
You have not created a project yet.
Create your first project to organize tasks, files, and team activity.
Create Project
The second version does more than report database state.
It teaches the product.
There Are Different Types of Empty States
Not every empty screen means the same thing.
Developers should identify the state before designing the visual.
A first-use empty state means:
The user has never created anything.
A cleared state means:
Content existed, but the user deleted or completed it.
A no-results state means:
A search or filter returned nothing.
An error-related empty state means:
The application expected content but could not load it.
A permission state means:
The user cannot access the content.
Each case requires different messaging.
First-Use Empty States Should Teach
A first-use screen is an onboarding opportunity.
Imagine an API monitoring dashboard with no monitors.
Instead of:
No monitors.
Try:
Create your first monitor.
Track an endpoint and receive alerts when availability or response time changes.
Add Monitor
Now the interface explains both:
what to do
and
why to do it.
No-Results States Should Help Recovery
Search results require a different strategy.
If someone searches:
production-auth-service
and receives no results, a large onboarding illustration is probably unnecessary.
The interface should help the user recover.
For example:
No results for “production-auth-service.”
Try:
removing filters
checking spelling
searching a shorter term
viewing all services
The best visual may be much simpler.
Do Not Confuse Empty States With Errors
Suppose an API request fails.
Displaying:
No data yet.
would be misleading.
The user may think they have no records when the actual problem is:
network failure
authentication failure
server error
timeout
Developers should model these states separately.
For example:
loading
loaded_empty
loaded_with_data
error
permission_denied
This makes the UI much easier to reason about.
Design the State Machine First
Before drawing anything, define the application state.
A simple component might support:
Loading
Empty
Populated
Error
Unauthorized
The visual layer should respond to those states.
Do not use:
if items.length === 0
as the only empty-state rule.
If the request failed and items is also empty, the application may accidentally show the wrong message.
Write the Message Before Creating the Illustration
A useful empty state begins with copy.
Before designing the visual, answer:
What happened?
Why does it matter?
What should the user do next?
For example:
What happened?
No deployment environments exist.
Why does it matter?
Environments allow the user to separate development, staging, and production configuration.
What should happen next?
Create an environment.
Now write:
No environments yet.
Create an environment to separate development, staging, and production settings.
Create Environment
The illustration should support this message rather than determine it.
Keep the Illustration Secondary
Empty-state illustrations can improve personality and comprehension.
But the visual should not compete with the action.
The hierarchy should usually remain:
Headline
Short explanation
Primary action
Illustration
The exact order may change depending on layout.
The important point is that users should never need to understand the drawing before understanding what to do.
Prototype With Rough Visuals First
Final illustrations can take time.
Early product development does not need polished artwork.
A rough concept is enough to answer questions such as:
Does the page feel too empty?
How much vertical space should the illustration use?
Should the CTA sit above or below the visual?
Does the illustration distract from the headline?
Does the layout still work on mobile?
At this stage, speed matters more than visual perfection.
Use Simple Shapes
Developers do not need to become illustrators to prototype useful empty states.
Many concepts can be represented with:
rectangles
circles
arrows
folders
documents
small icons
simple characters
browser-window shapes
For example, an empty API dashboard might show:
a small browser window
an endpoint line
a disconnected status indicator
That is enough to communicate the idea.
Match the Illustration to the Task
Avoid using a generic rocket illustration everywhere simply because it looks attractive.
The visual should relate to the user action.
Examples:
No files
Illustration:
empty folder
No API keys
Illustration:
key outline
No deployments
Illustration:
server or deployment pipeline
No saved searches
Illustration:
search icon with empty result cards
No team members
Illustration:
empty avatar group
The visual becomes more useful when it reinforces meaning.
Do Not Show a Failure Image for a Normal State
A first-use empty state is not an error.
Avoid visual language such as:
warning symbols
broken objects
red colors
sad faces
unless something actually failed.
The user simply has not created content yet.
The design should feel inviting, not alarming.
Build a Reusable Empty-State Component
Once several screens need empty states, create a shared component.
Conceptually, it may accept:
illustration
title
description
primary action
secondary action
size
For example:
EmptyState
Title:
No projects yet
Description:
Create your first project to begin organizing your work.
Primary action:
Create project
Illustration:
projects-empty
Now different product teams can use one consistent pattern.
Separate Layout From Illustration
Do not build the entire page as one large image.
The illustration should be an asset inside a responsive layout.
Keep:
title
description
buttons
links
as real interface elements.
Benefits include:
accessibility
responsive behavior
translation
analytics
easier content updates
better SEO where relevant
The image should decorate or explain.
It should not contain essential interface text.
Think About Dark Mode
An illustration that looks good on a white background may fail completely in dark mode.
Common problems include:
dark outlines disappearing
white backgrounds creating visible rectangles
low-contrast colors
shadows becoming distracting
Test illustrations against both themes.
Transparent backgrounds are often easier to reuse.
Prefer Vector Assets When Appropriate
Simple UI illustrations often work well as SVG.
Advantages include:
small file size
sharp rendering
easy scaling
CSS control in some implementations
good performance
However, do not automatically embed extremely complex generated SVG files containing thousands of paths.
Inspect and optimize assets before shipping them.
Optimize Raster Assets
If the illustration is PNG, WebP, or AVIF:
resize it appropriately
compress it
avoid exporting at unnecessarily large dimensions
provide responsive sizes when needed
An empty state should not add several megabytes to the first page a new user sees.
Lazy Loading Is Not Always Correct
Developers often apply lazy loading automatically.
But the empty-state illustration may appear above the fold and be immediately visible.
If so, excessive lazy loading can create:
layout shifts
delayed visuals
visible loading flashes
Treat the asset according to its actual position in the interface.
Reserve the Layout Space
If an image loads after text, reserve the expected dimensions.
Otherwise:
content appears
image loads
CTA suddenly moves downward
This creates layout shift.
Define width and height or use a stable aspect-ratio container.
Test Mobile Early
Desktop mockups often have large amounts of empty space.
Mobile screens do not.
A desktop layout might contain:
illustration on the left
content on the right
On mobile, stack them.
You may also reduce:
illustration size
spacing
secondary text
The main action should remain visible without excessive scrolling.
Do Not Make the Illustration Too Tall
A common empty-state mistake is allowing the artwork to push the CTA below the fold.
Remember the primary job:
help the user move forward.
If the illustration consumes 60 percent of the screen, it may be visually attractive but functionally harmful.
Test the page at realistic viewport heights.
Prototype Before the Design Team Is Available
Small teams often face a timing problem.
Engineering has already built the feature.
The final visual design will not arrive until later.
The choice should not be:
block development
or
ship an unfinished screen.
Create a temporary visual prototype.
When experimenting with simple sketches and concepts, a free online drawing application can help developers explore rough visual directions before a final illustration is handed off or created.
The prototype does not need to become the production asset.
Its purpose is to validate the interface structure.
Name Temporary Assets Clearly
If a placeholder enters the repository, make its status obvious.
Avoid:
empty-state-final.svg
when the asset is temporary.
Use:
empty-projects-placeholder.svg
or:
prototype-empty-dashboard.svg
This reduces the chance that a temporary drawing accidentally survives for two years.
Track Placeholder Debt
Temporary assets tend to become permanent.
If the team plans to replace them, create an issue.
For example:
Replace prototype empty-state illustrations with final design assets.
Include:
affected routes
asset filenames
design owner
target milestone
Visual debt deserves the same visibility as technical debt.
Test With Real Copy
Do not prototype using:
Lorem ipsum
The actual message affects layout.
A short heading:
No projects yet
behaves differently from:
You haven't created any monitoring projects yet
Localization may make the text even longer.
Use realistic copy early.
Plan for Translation
If the product supports multiple languages, empty states need flexible layouts.
Buttons may become longer.
Descriptions may wrap differently.
Headings may occupy two or three lines.
Avoid fixed-height containers built around English text.
Do Not Put Text Inside the Illustration
If translated text is baked into an SVG or PNG, localization becomes much harder.
It also creates accessibility problems.
Keep meaningful text in HTML or native UI components.
Consider Reduced Motion
Animated empty states can be engaging.
For example:
subtle floating shapes
small loading loops
gentle character movement
But animation should not be required to understand the interface.
Respect reduced-motion preferences.
Animation should enhance the state, not define it.
Use Animation Sparingly
A bouncing illustration beside a button can quickly become distracting.
Ask:
Does this animation explain something?
Does it guide attention?
Or is it simply moving because it can?
For most empty states, still graphics are perfectly sufficient.
Measure the CTA
An empty state has a measurable job.
For example:
No projects → Create Project
Track:
empty-state impressions
CTA clicks
successful project creation
abandonment
If users see the screen repeatedly but rarely continue, the issue may be:
unclear copy
weak CTA
poor positioning
missing explanation
not the illustration.
Compare First-Time and Returning Users
The same empty state may need different messaging.
First-time user:
You haven't created a project yet.
Returning user after deleting everything:
You currently have no projects.
Those experiences have different contexts.
Product state can be more precise than simply checking for an empty array.
Use Secondary Actions Carefully
Some empty states need more than one path.
For example:
Create Project
or
Import Existing Project
Choose one clear primary action.
The second option should remain visually secondary.
Too many buttons turn a guidance screen into another decision problem.
Consider Example Content
Sometimes the best empty state is not empty.
An analytics product might display:
sample dashboard
example chart
demo report
The user can understand the outcome before creating real data.
This works especially well when the value of the product is difficult to imagine from an illustration alone.
Allow Demo Data to Be Removed
If you use example content, label it clearly.
Users should understand:
this is sample data
not their real data.
Provide an easy transition to real content.
Create an Empty-State Inventory
As the product grows, list every empty state.
For example:
Projects
Deployments
API keys
Team members
Reports
Search results
Notifications
Integrations
Saved filters
Then record:
state type
headline
CTA
illustration
component used
This prevents each team from reinventing the pattern.
Create Illustration Families
If every screen uses a completely different visual style, the product begins to feel inconsistent.
Define a simple illustration language.
For example:
same stroke width
same color palette
same corner radius
same level of detail
same perspective
same background treatment
Individual illustrations can vary while still feeling like one system.
Final Artwork Can Arrive Later
The development workflow can be:
Define state
Write copy
Build reusable component
Create rough placeholder
Test layout
Implement behavior
Validate mobile
Receive final design
Replace placeholder asset
Run visual review
This allows engineering and design to work in parallel.
The Placeholder Should Still Be Good Enough
Temporary does not mean careless.
Even a prototype asset should:
match the concept
be reasonably sized
not contain copyrighted material you cannot use
avoid misleading information
have appropriate contrast
fit the layout
A placeholder should support development without creating new problems.
Review Empty States During QA
QA plans often focus on populated screens.
Include empty states explicitly.
Test:
brand-new account
zero results
deleted content
expired permissions
failed request
slow loading
empty filtered view
These states are often where UI bugs hide.
Empty States Reveal Product Architecture
An empty screen can expose unclear product thinking.
If the team cannot answer:
What should the user do here?
the problem may not be visual design.
It may mean the workflow itself is unclear.
Empty-state design forces the team to explain the next step.
Final Thought
Empty states deserve more attention than they usually receive.
They are often the first interface a new user encounters.
They can teach the product.
Guide the next action.
Explain missing content.
Recover from searches.
And make unfinished areas feel intentional.
Developers do not need final illustrations before they can build these experiences.
Start with the state model.
Write the message.
Define the action.
Prototype a simple visual.
Build a reusable component.
Then replace the placeholder when final design assets are ready.
A good empty state is not decoration around an empty database result.
It is part of the product experience.
AI-assisted disclosure: This article was created with AI assistance and reviewed and edited for clarity and accuracy before publication.
