Progress

A determinate or (without value) indeterminate progress bar, announced as a progressbar.

Source on GitHub

Code

API

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

<ray-progress> · RayProgress

PropertyAttributeTypeDefaultDescription
valuevaluenumberProgress, from 0 to max. Unset: indeterminate.
maxmaxnumber100The value of a full bar.
colorcolor reflectsstringA palette color or any CSS color.
sizesize reflectsxs | sm | md | lg | xlmdBar height.
radiusradiusxs | sm | md | lg | xl | fullCorner radius. Default: full.
stripedstriped reflectsbooleanDiagonal stripes.
animatedanimated reflectsbooleanMoving stripes (with striped).
showValueshow-value reflectsbooleanShows the percentage: inside the bar on lg and xl, beside it on smaller sizes.
labellabelstringAccessible name (default: Progress).
PartDescription
trackThe background track.
barThe filled bar.
valueThe percentage beside the bar (show-value on xs, sm, md).

Texts

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

KeyEnglish
progress.labelProgress