Error States explain what went wrong and how to fix it. Good error states are specific, actionable, and empathetic. Include: what happened, why it happened (if known), how to fix it, and retry/recovery action. Use plain language, not technical jargon. Show inline (form errors), banner (page errors), or dedicated page (404, 500).
Use error states for all failures: form validation, API errors, 404/500 pages, network failures, permission denied. Be specific: "Email already registered" not "Error 409". Provide action: "Try again" button, "Contact support" link, or alternate path. Use red color sparingly—only for actual errors. Log errors for debugging.
Feedback Patterns
Failure feedback—explain what happened, provide recovery
Unable to reach server. Check connection.
Not found
Bad input
Too slow