Progress
A determinate or (without value) indeterminate progress bar, announced as a progressbar.
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-progress> · RayProgress
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
value | value | number | Progress, from 0 to max. Unset: indeterminate. | |
max | max | number | 100 | The value of a full bar. |
color | color reflects | string | A palette color or any CSS color. | |
size | size reflects | xs | sm | md | lg | xl | md | Bar height. |
radius | radius | xs | sm | md | lg | xl | full | Corner radius. Default: full. | |
striped | striped reflects | boolean | Diagonal stripes. | |
animated | animated reflects | boolean | Moving stripes (with striped). | |
showValue | show-value reflects | boolean | Shows the percentage: inside the bar on lg and xl, beside it on smaller sizes. | |
label | label | string | Accessible name (default: Progress). |
| Part | Description |
|---|---|
track | The background track. |
bar | The filled bar. |
value | The percentage beside the bar (show-value on xs, sm, md). |
Texts
What it writes itself, in English; setStrings() translates them (Getting started: Languages).
| Key | English |
|---|---|
progress.label | Progress |