Ring progress

Progress as a ring (Mantine's RingProgress), with content in the middle: a countdown, a goal, an upload. Announced as a progressbar.

Source on GitHub

A countdown: the value goes down
3:00
Round 4 / 12
Start

value from 100 to 0; the clock is the default slot.

Sizes, colors and the percentage

Without value the arc spins (indeterminate).

A goal: value of max
6,400
of 10,000 steps
Code

API

For AI agents: this API as Markdown, or every component in llms-full.txt.

<ray-ring-progress> · RayRingProgress

The arc starts at 12 o'clock and runs clockwise; a countdown is a value that goes down. Without value it spins (indeterminate). The middle holds the default slot (a clock), or the percentage with show-value.

PropertyAttributeTypeDefaultDescription
valuevaluenumberProgress, from 0 to max. Unset: indeterminate (a spinning arc).
maxmaxnumber100The value of a full ring.
colorcolor reflectsstringA palette color or any CSS color. Default: the primary color.
sizesize reflectsstringmdDiameter: xs…xl (3, 5, 7.5, 10, 12.5rem) or any CSS length.
thicknessthickness reflectsstringWidth of the ring: a CSS length (a bare number is px). Default: a tenth of the diameter.
roundCapsround-caps reflectsbooleanRounded ends of the arc.
showValueshow-value reflectsbooleanShows the percentage in the middle (when the default slot is empty).
labellabelstringAccessible name (default: Progress).
SlotDescription
(default)The middle of the ring (a clock, a figure, an icon); its font scales with size.
PartDescription
trackThe background circle.
barThe arc.
centerThe middle, around the default slot.

Texts

What it writes itself, in English; setStrings() translates them (Getting started: Languages).

KeyEnglish
ring-progress.labelProgress