Progress
Installation
Usage
Passvalue for completed work andmax for the total, which defaults to 100. Useindeterminate when the amount remaining is unknown. Name the task witharia-label oraria-labelledby .
Fractional values are supported. Invalid maximums fall back to 100, and non-finite values display zero. Indicator transitions respect reduced motion. The indeterminate animation pauses when motion is disabled, the indicator leaves view, or the page is hidden.
Examples
Determinate
Indeterminate
With label
API reference
Progress
Displays progress toward a value.
| Prop | Type | Default |
|---|---|---|
value | number | undefined | 0 |
max | number | undefined | 100 |
indeterminate | boolean | undefined | false |
pnpm dlx @mielui/svelte add progress