Progress

How far along something is. Pass a value when the total is known, and null when it is not: there is no separate busy flag, because busy is a value nobody has yet.

Reach for it

Work with a known total, or with value={null} for work without one.

Not for

An isProcessing flag of your own. Indeterminate is already a value.

Determinate and indeterminate

Switching between them is a change of value, not a change of component, so a task that discovers its total halfway through does not swap what the user is looking at.

Documents accepted
x
Checking the mandate
x

Sizes and intents

The value is clamped against min and max, and the announcement is clamped with it, so a count of 12 out of 10 reads as complete rather than as 120 percent.

Small
x
Medium
x
Large
x
Out of 10, clamped
x

API reference

Progress

PropTypeDefaultDescription
label*string-Names what is progressing, e.g. "Documents accepted". Always passed in.
value*number | null-`null` is indeterminate: busy, with no known total.
data-testidstring-Names the element for a test. Never rendered, never announced.
size'small' | 'medium' | 'large'medium
intent'brand' | 'success' | 'warning' | 'danger' | 'info'brand
labelPlacement'hidden' | 'above'-Where the label sits. `hidden` keeps it announced but off screen, which is what a bar inside a toast or a table cell wants.
maxnumber-