enes

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

NameTypeDefaultDescription
value bindablenumber0The current value of the progress ring.
minnumber0The minimum value of the progress ring.
maxnumber100The maximum value of the progress ring.
indeterminatebooleanSpins the ring continuously instead of reporting a value.
hideRailbooleanWhether to hide the rail element.
sizenumber32The size of the progress ring in pixels.
ref bindableSVGElementThe DOM reference of the progress ring element.
railElement bindableSVGCircleElementThe DOM reference of the rail element.
trackElement bindableSVGCircleElementThe DOM reference of the track element.
status'paused' | 'error'The current status of the progress ring, which recolors the track.
classstringThe class to apply to the progress ring.
Element Attributes