Sub topic 14
Designing Empty, Loading, Error, and Success States
Assume you already know how to map a user flow and place basic components in a wireframe. This chapter focuses on the states a screen enters while data is missing, changing, unavailable, or complete. A wireframe is incomplete if it shows only the ideal, fully populated view.
Model the screen as states
A state is a defined condition of a screen and its controls. For example, an order-history screen may have no orders, may be waiting for the server, may have failed to load, or may show a list of orders.
Model each state by answering:
- What does the user see?
- What action can the user take?
- What information is unavailable?
- What happens after that action?
- Which parts of the layout remain stable?
| State | User need | Useful response |
|---|---|---|
| Empty | Understand why there is no content | Explain the condition and offer a relevant next step |
| Loading | Know that work is in progress | Show progress without implying failure |
| Error | Understand what went wrong and recover | Give a clear message and an appropriate recovery action |
| Success | Confirm that the requested result is complete | Show the result and any next action |
Keep the screen’s identity stable across states. The page title, navigation, and main region should not jump unnecessarily. Replace only the content area that depends on the missing or changing data.
Design each state deliberately
An empty state should explain whether the user has no data yet, has filtered all results out, or lacks permission. These conditions need different messages and actions. “Nothing here” is rarely enough. For a new project, the action might be “Create order.” For a filtered list, it might be “Clear filters.”
A loading state should appear when a delay is long enough to notice. Use a short, stable placeholder or progress indicator. Avoid displaying a blank screen. If content loads in sections, show each section as it becomes available rather than blocking the entire page.
An error state should describe the failed operation in user terms. Include a retry action when the request may succeed later. If retrying cannot help, provide another path, such as checking permissions or contacting support. Do not expose raw server errors, status codes, or stack traces in the primary message.
A success state confirms the result. After saving a form, show confirmation, the saved item, and the next useful action. Do not make success depend only on a brief color change or disappearing notification.
Annotate state behavior
Add annotations to the wireframe rather than relying on visual symbols alone. Specify the trigger, replacement region, message rules, and transition. For example:
- On screen entry, show loading if the response is not available immediately.
- If the response contains zero orders, show the empty state inside the list region.
- On failure, preserve the page title and filters, then show “Orders could not be loaded” with “Try again.”
- After a successful retry, replace the error region with the list or empty state.
Check states with realistic content, narrow screens, long error messages, slow connections, and repeated retries. A complete state specification helps designers and developers implement the same behavior.
Exercise
A search result screen returns zero matches after the user enters a query. Which state should the wireframe show, and what should its primary action do?
Show answer
Show a filtered-empty state that mentions the query and suggests changing or clearing it. The primary action should clear the query or filters, not create unrelated content.