Sub topic 8
Turning Empty States into Guidance
Assume you know basic app screens, forms, buttons, and analytics events. You should also understand that an event records an action, such as project_created, so you can measure whether onboarding helps users reach value.
An empty state is the screen shown when a useful area has no content yet. Examples include a new project with no tasks, an inbox with no messages, or a dashboard with no reports. A weak empty state says only “Nothing here.” A strong empty state explains the situation and gives the user a clear next action.
Design the first empty state around user intent
An empty state often appears at the exact moment when a new user needs help. Use it as contextual onboarding instead of sending the user to a separate tour.
A useful empty state answers three questions:
- What is this area for?
- Why is it empty?
- What should I do next?
For example:
> Your project has no tasks yet. Add a task to start planning your work.
The primary button might say Add your first task. This label is better than Get started because it names the action and its result.
Do not assume every empty state means the same thing. An area can be empty because the user has not created anything, because a search returned no matches, because content is still loading, or because an error prevented content from appearing.
| State | User meaning | Suitable guidance |
|---|---|---|
| First use | The user has not created content | Explain the benefit and offer a first action |
| No search results | The content may exist elsewhere | Suggest different terms or filters |
| Loading | The app is still working | Show progress without offering a misleading setup action |
| Error | The app could not load content | Explain the problem and offer retry or support |
Connect guidance to the next step
The action in an empty state should move the user toward the activation goal, which is the first meaningful outcome that shows the app’s value. If activation means creating and sharing a project, the empty project screen should help the user create the project before asking for unrelated profile details.
A contextual flow might look like this:
Keep the first action focused. You can reveal advanced options after the user completes it. This is progressive disclosure: showing only the information needed at the current moment.
type EmptyState = {
title: string;
message: string;
actionLabel: string;
action: () => void;
};
const firstProjectState: EmptyState = {
title: "Start your project",
message: "Add a task so your team can see what needs to happen next.",
actionLabel: "Add your first task",
action: () => console.log("Open task form"),
};
console.log(firstProjectState.actionLabel);
firstProjectState.action();Avoid misleading or inaccessible empty states
Do not hide important navigation or make users complete an unnecessary setup step before they can explore. Let users skip optional actions, and preserve their progress when they return.
Use a real heading, readable text, and a keyboard-accessible button. Give the empty-state illustration an empty alternative description when it adds no information. Make the action understandable without relying on color alone.
Track the empty-state action as an analytics event, such as empty_state_cta_clicked, and track the resulting value event separately. A click shows interest. It does not prove that onboarding worked.
Exercise
A new user sees “No data available” on a dashboard. What should you change first?
Show answer
Explain why the dashboard is empty, describe its purpose, and provide a specific action that helps the user create or connect the first data source.