Back to catalog
Feedback & State
Infinite Typing Indicator
The system displays a typing or loading indicator indefinitely without receiving data.
3 principles3 checklist items2 simulation modes
What you will learn
Provide Process Transparency
Fail Gracefully
Set Time Expectations
Run the simulation to see the failure in action.
Interactive Lab
Toggle between Bad and Good modes.
Anti-pattern mode
Simulation Status: Idlev2.4.0
Why it fails
Users often wait for AI systems to generate responses. When a 'typing' animation persists for too long (or forever) without progress updates, users lose trust and don't know if the system has crashed or is 'thinking hard'. This creates a high-anxiety waiting period.
Root cause
Applications often use a simple boolean loading state that doesn't account for timeout, network errors, or long-running generation tasks. There's no feedback loop between the generation stream and the UI.
How to fix it
Provide Process Transparency
Fail Gracefully
Set Time Expectations
Implementation checklist
- Implement a timeout for generation requests
- Show intermediate steps if generation takes > 2s
- Provide a way to cancel the generation