Skip to content
IndexRequest a UIAboutContact

Long Wait Status Messages

A task whose status line changes as work proceeds, adds elapsed time and gently warns when it takes longer than usual.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Clean UI mockup of a waiting state card in the centre of a page, a small spinner, the status line Finding key points in your document, three small step dots with the first one checked and the second active, a muted line Elapsed 0:14, below it a calm amber note Taking longer than usual with two text buttons Keep waiting and Cancel, light theme, flat modern style. Negative: gradients, heavy shadows, clutter, text errors. Reduced motion: static design.

About this pattern

Definition

When a wait is longer than a few seconds, a spinner alone creates doubt. A status line that names what is happening, a visible elapsed time and an honest note when it runs long keep people informed and patient. Always offer Cancel, and never fake precise progress you do not have.

Purpose & UX principles

  • Rotate honest steps, such as Reading your file, Finding key points, Writing the summary.
  • Show elapsed time after a few seconds.
  • After the usual duration add Taking longer than usual with the option to keep waiting or cancel.
  • Use aria-live polite and update only when the step changes, not every second.

Interaction states

  • Start the task; watch the steps, the elapsed timer and the long-wait note.

Motion specification

  • The message fades between steps in 200ms.
  • Reduced motion: it swaps without a fade.

Responsive behaviour

  • Do not use jokey or misleading messages for serious tasks.
  • Reduced motion: no fade between messages.

Code

HTML
<div class="bx"><div class="wc" id="wc"><div class="sp" id="sp" aria-hidden="true"></div><p class="st" id="st" aria-live="polite">Ready to start.</p><ul class="dt" id="dt"></ul><p class="el" id="el"></p><p class="lg" id="lg" hidden>Taking longer than usual. <button type="button" id="kw">Keep waiting</button></p></div><div class="two"><button class="mini" id="go" type="button">Start</button><button class="mini" id="cn" type="button" disabled>Cancel</button></div></div>

Related patterns

AI Thinking States

↗
AI Thinking StatesAI & Conversational

Indeterminate to Determinate Progress

↗
Indeterminate to Determinate ProgressLoading & Progress

Agent Steps Timeline

↗
Agent Steps TimelineAI & Conversational