Design empty loading and error states
Explain whether there are no records, a request is still loading or the source is unavailable. Those states need different messages and next actions.
Short answer
Explain whether there are no records, a request is still loading or the source is unavailable. Those states need different messages and next actions.
Explain whether there are no records, a request is still loading or the source is unavailable. Those states need different messages and next actions.
Give each state its own message
No records means the request succeeded with an empty result. Loading means the result is still unknown. An error means the system could not retrieve it.
Offer an appropriate next action
An empty list can offer creation or a filter reset. Loading can show progress. An error can offer retry while preserving the user's search and filters.
Try it with a sample
Test an empty sample list, a delayed response and an interrupted request; keep the error from presenting itself as an empty successful result.
What a useful result looks like
An interrupted request shows an error rather than a misleading empty list.
Before using real records
Use controlled sample failures; do not interrupt production services.
Try it in First
Frequently asked questions
- What should I look for in the first version?
- An interrupted request shows an error rather than a misleading empty list.