Spinner

Busy, with no known total. Inside a button, use the button's own loading state instead: it disables the press at the same time, which a spinner beside it does not.

Reach for it

Busy with no known total, for an action or a whole region.

Not for

Content whose shape is known. A Skeleton says more while it waits.

Sizes and tones

The label is required, because a spinner with no accessible name is announced as nothing at all and the user is left with silence. onColor is the tone for a spinner sitting on a brand surface.

LoadingLoading invoicesLoading

API reference

Spinner

PropTypeDefaultDescription
label*string-Announced while busy, e.g. "Loading invoices". Always passed in.
data-testidstring-Names the element for a test. Never rendered, never announced.
size'small' | 'medium' | 'large'medium
tone'inherit' | 'default' | 'muted' | 'onColor'muted