Skip to main content
  1. Docs
  2. Components
  3. Feedback

Progress

A task advancing: an upload, an import. Unknown while its end is unknown; its tone says how it ended.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<div role="progressbar">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

When to use

Use it for
  • An upload or an import, with a known end.
  • A long job, before its end is known.
Not for

02

Anatomy

  1. 1progress-header<div>The label, then the value.
  2. 2progress-track<div>4px, the whole range.
  3. 3progress-indicator<div>How far: Ember, or the tone.

03

Do and don't

Progress, not amounts
DoA task on its way to done.
Don'tStorage used: it isn't a task. Use a Meter.
Say how it ended
DoSuccess or danger once it's over, with words to match.
Don'tA bar left at 72%, still Ember: did it stop?

04

Content

  • Labels say the task and its object: "Uploading invoices.csv".
  • When it ends, the label says so: Uploaded, Couldn't upload.
  • A count beside it, where people count: 1,360 of 2,000 users.
Next — ProgressAPI