Ring progress
Progress as a ring (Mantine's RingProgress), with content in the middle: a countdown, a goal, an upload. Announced as a progressbar.
A countdown: the value goes down
3:00
Round 4 / 12
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
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.
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
value | value | number | Progress, from 0 to max. Unset: indeterminate (a spinning arc). | |
max | max | number | 100 | The value of a full ring. |
color | color reflects | string | A palette color or any CSS color. Default: the primary color. | |
size | size reflects | string | md | Diameter: xs…xl (3, 5, 7.5, 10, 12.5rem) or any CSS length. |
thickness | thickness reflects | string | Width of the ring: a CSS length (a bare number is px). Default: a tenth of the diameter. | |
roundCaps | round-caps reflects | boolean | Rounded ends of the arc. | |
showValue | show-value reflects | boolean | Shows the percentage in the middle (when the default slot is empty). | |
label | label | string | Accessible name (default: Progress). |
| Slot | Description |
|---|---|
| (default) | The middle of the ring (a clock, a figure, an icon); its font scales with size. |
| Part | Description |
|---|---|
track | The background circle. |
bar | The arc. |
center | The middle, around the default slot. |
Texts
What it writes itself, in English; setStrings() translates them (Getting started: Languages).
| Key | English |
|---|---|
ring-progress.label | Progress |