Skip to content

Progress

Shows task progress, supporting line and circle forms, status colors, and hidden text.

Basic usage

Basic usage

Status

Status

Hidden text

Hidden text

Circle progress

Circle

The circle defaults to a 48px diameter and 6px stroke, showing the percentage in the center; type="circle" switches the form.

Circle size & stroke width

Size / stroke width

Circle status

Circle status colors

status="success|error" recolors the whole ring (success green, error red); show-text="false" hides the center percentage.

Dynamic progress

Dynamic progress

Start simulated task

API

Attributes

AttributeDescriptionTypeDefault
no-textHide the side/center percentage textboolean
percentProgress percentage (0–100, clamped automatically)string0
show-textWhether to show the percentage textstringtrue
sizeCircle diameter (px)string48
statusStatus color; error red, success green; when unset and progress reaches 100, success green is shownstring
stroke-widthCircle stroke width (px)string6
typeForm: line / circlestringline

role="progressbar" + aria-valuenow / aria-valuemin / aria-valuemax (synced for both line and circle).