Progress Ring
A progress ring is a circular indicator that communicates the progress of an operation. Set value for determinate progress, or use indeterminate when the duration is unknown.
Usage
<script>
import { ProgressRing } from 'fluentui-svelte';
</script>
<ProgressRing value={50} /> Value
The value prop determines the percentage of the progress ring that is filled. It should be a number between 0 and 100.
Indeterminate
The indeterminate prop allows the progress ring to display an indeterminate state, which is useful when the progress cannot be determined.
Hide Rail
The hideRail prop allows the progress ring to hide the rail, which is a background track for the progress indicator.
Status
The status prop allows you to set the status of the progress ring for visual feedback. It accepts values such as 'paused' or 'error'.
Component Props
| Name | Type | Default | Description |
|---|---|---|---|
value bindable | number | 0 | The current value of the progress ring. |
min | number | 0 | The minimum value of the progress ring. |
max | number | 100 | The maximum value of the progress ring. |
indeterminate | boolean | Spins the ring continuously instead of reporting a value. | |
hideRail | boolean | Whether to hide the rail element. | |
size | number | 32 | The size of the progress ring in pixels. |
ref bindable | SVGElement | The DOM reference of the progress ring element. | |
railElement bindable | SVGCircleElement | The DOM reference of the rail element. | |
trackElement bindable | SVGCircleElement | The DOM reference of the track element. | |
status | 'paused' | 'error' | The current status of the progress ring, which recolors the track. | |
class | string | The class to apply to the progress ring. | |
| Element Attributes |
