I designed examples of how an AI interface can show progress, missing information, uncertainty, and errors.
I built five interface examples: a response arriving gradually, a task in progress, missing information, uncertainty, and error recovery. The examples use React and TypeScript. Some states are demonstrations rather than connections to a production service.
I explored how to show what an AI system is doing and help people recover when it fails.
I focused on what people see while an AI response is arriving, when it is uncertain, and when it fails.
I gave each of five states a different treatment: responding, thinking, done, uncertain, and failed. Each treatment explains what is happening and what the person can do next.
The progress logic and gradual response display work in the demo. The confidence and error examples are not connected to a production service.
The primary output pattern. Text arrives character by character, and each arrival is a render event. The cursor shows the model is active. Connected to the prompt input below.
Five states: idle, thinking, generating, done, error. None of them should look the same. Click advance to step through the machine.
Token-level confidence mapped to visual weight. High renders full. Medium dims. Low underlines. Uncertain goes red. Hover any word for its score.
Context window usage as a first-class UI element. Drag the slider to simulate different usage levels and watch the component respond.
Three classes of AI failure, each with different meaning and a different design response. These are AI error states, not generic browser errors.