Sub topic 4
Why a Screen Is Empty
Assume you know basic UI terms such as components, layout, and copy. Also assume you understand that an app may fetch data asynchronously. This chapter focuses on a successful response that contains no items. A failed request is an error state, even if the page happens to look empty.
An empty screen is not one state with one solution. It is the visible result of different causes. The cause determines what the user needs to know and what action, if any, should be available.
Classify the cause before designing the screen
Start by asking why the collection contains no visible items. Do not begin with an illustration or a generic “Nothing here” message.
| Cause | What it means | Useful next action |
|---|---|---|
| First use | The user has not created or received anything yet | Create, invite, or import the first item |
| No results | Items exist, but the current search or filters exclude them | Clear filters, change the query, or broaden the scope |
| User-cleared | The user deliberately removed or archived all items | Create a new item or restore archived items |
| Not available | The user lacks access, or the feature does not apply here | Request access, change context, or contact an administrator |
| Temporary absence | Data is valid but will appear later because another process is still running | Wait, refresh, or check progress |
These causes can look identical in a wireframe. They are different user experiences. A first-use screen should invite progress. A no-results screen should help the user adjust their view. An access-related screen should not imply that creating an item will solve the problem.
Follow the state from cause to action
Model the empty state as a small decision path:
The action should match the user’s control over the situation. Use a primary action when the user can make progress immediately. Use a secondary action when another path is useful. If no action can help, provide a clear explanation instead of adding a disabled button.
Separate empty from loading and error
A loading state means the app does not know the final data yet. An empty state means the app knows that the result contains no items. An error state means the app could not reliably determine the result.
This distinction prevents misleading feedback. Showing “No projects yet” while a request is still pending may cause a user to create a duplicate project. Showing an empty illustration after a permission failure may make the user think the account has lost data.
Keep the state transition explicit:
- Loading: “Loading projects…”
- Successful empty result: “No projects yet. Create your first project.”
- Successful filtered result: “No projects match these filters.”
- Error: “Projects could not be loaded. Try again.”
Write content that explains the situation
An effective empty state usually contains:
- A short heading that identifies what is absent.
- Supporting text that explains why the user is seeing the state.
- An action that moves the user forward, when one exists.
Avoid vague headings such as “Nothing here” or “No data.” They force users to infer both the scope and the next step. Name the object and the relevant cause.
Compare these messages:
- Weak: “No results.”
- Better: “No projects match your filters.”
- Better with recovery: “No projects match your filters. Clear the filters to see all projects.”
The message should reflect the current context. If the user searched for “orchard,” do not replace that context with a generic first-use prompt. Preserve the search and offer a way to change it.
Check the layout and behavior
Place the explanation near the content area it describes. Keep the primary action visible without requiring the user to search the page. Avoid excessive artwork that pushes the message below the fold or competes with the action.
Test these cases separately:
- A new account with no data.
- A populated account with a query that matches nothing.
- A populated account with filters that match nothing.
- An account where the user removed the last item.
- An account without permission to view the collection.
For each case, verify that the heading, explanation, action, and destination agree with the cause.
Exercise
A project list is empty after the user filters by “Archived,” but the account has no archived projects. Should the screen use a first-use message with a “Create project” button?
Show answer
No. This is a no-results state caused by the current filter. Say “No archived projects yet” and offer a relevant action such as “Clear filter” or “View active projects.”