Duolith docs

ProgressRing

How far a task has got, from 0 to 1, as a ring with the percentage in its middle.

Stability: experimental

Props

PropTypeDefaultMeans
valuenumberHow far it has got, from 0 to 1.
labelstringProgressWhat is in progress; its accessible name.
size"sm" | "md" | "lg"md40, 64 or 96 points across.

States

StateLooks like
defaultTwelve segments round a circle, as many filled as the value has reached, and the percentage.

Accessibility

roleprogressbar
nameThe label prop.
focusNever focused.
notesA real progress element carries the value, so assistive technology reads the percentage.

Theme tokens

color.raised color.primary color.ink radius.full text.caption

Example

<ProgressRing value={0.4} label="Uploading" />