📖 Step 3: Design - UI Components & Patterns#417 / 498
Error State
Error State
📖One-line summary
The screen state that explains what went wrong and what to do next when loading or an action fails.
✨Example
🧩
에러 상태
Error State
⚡Vibe coding prompt examples
>_
Create a page error state with error.tsx in the Next.js App Router, with friendly copy and a 'Try again' button.
>_
Write a component that shows different screens when the list API fails, when there are zero results, and when offline.
>_
Write ten user-friendly error messages by situation (network, permission, server) to replace 'An error occurred'.
Try these prompts in your AI coding assistant!