Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Components
  3. Feedback
  4. Progress Ring

Progress Ring 1.2.2

The <velin-progress-ring> web component renders a circular SVG progress indicator with configurable value, size, color, and optional centre label. Deutsch: Fortschrittsring

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Basic ring

<velin-progress-ring value="25"></velin-progress-ring>
<velin-progress-ring value="50"></velin-progress-ring>
<velin-progress-ring value="75"></velin-progress-ring>

Size

Set the size attribute (in pixels) to scale the ring.

<velin-progress-ring value="60" size="48"></velin-progress-ring>
<velin-progress-ring value="60" size="80"></velin-progress-ring>
<velin-progress-ring value="60" size="120"></velin-progress-ring>

Color

Use the color attribute with any CSS colour value or semantic name.

<velin-progress-ring value="80" color="success"></velin-progress-ring>
<velin-progress-ring value="40" color="warning"></velin-progress-ring>
<velin-progress-ring value="90" color="#e91e63"></velin-progress-ring>

Label

The percentage label is shown by default. Set label="false" to hide it. There is no slotted custom label API.

<velin-progress-ring value="72"></velin-progress-ring>
<!-- Hide centre percentage -->
<velin-progress-ring value="40" label="false"></velin-progress-ring>

Accessibility

API

Attributes

AttributeTypeDescription
valueNumberObserved — 0–100
sizeNumberObserved — diameter in px (default 120)
strokeNumberObserved — stroke width in px (default 8)
colorStringObserved — semantic token name (e.g. success) or CSS colour
labelStringNot observed — any value other than "false" shows the centre percentage (default on)
aria-labelStringAccessible name override

Parts

svg, fill, label. No slots, methods, or events.

Best practices & pitfalls