Duolith docs

Spinner

Shows that work is going on, for an unknown time, in the colour of the text around it.

Stability: experimental

Props

PropTypeDefaultMeans
size"sm" | "md" | "lg"md16, 24 or 36 pixels.
labelstringLoadingWhat is happening, for assistive technology.

States

StateLooks like
spinningA three-quarter ring turning once every 700 ms.

Accessibility

rolestatus
nameThe label prop.
focusNever focused.
notesAnnounced politely when it appears.

Theme tokens

color.ink radius.full

Example

<Spinner label="Syncing" />