Elements

Components

Progress

Progress, dressed in the paper-and-ink system: a quiet hairline groove that the primary ink fills at the machine's pace. The parts — Root, Label, ValueText, Track, Range, View, Circle, CircleTrack, CircleRange.

#Basic usage

progress/basic Vue React
Copying the archive42%

#Props

#CircleRange

A styled part — no props of its own; it takes the anatomy's shared styling.

#CircleTrack

A styled part — no props of its own; it takes the anatomy's shared styling.

#Circle

A styled part — no props of its own; it takes the anatomy's shared styling.

#Label

A styled part — no props of its own; it takes the anatomy's shared styling.

#Range

A styled part — no props of its own; it takes the anatomy's shared styling.

#Root

PropTypeDefaultDescription
sizeString as PropType<"sm" | "md" | "lg">"md"One rung of the groove ladder — the track's thickness.
defaultValuenumber | null50The initial value of the progress bar when rendered. Use when you don't need to control the value of the progress bar.
formatOptionsIntl.NumberFormatOptions{ style: "percent" }The options to use for formatting the value.
idstringThe unique identifier of the machine.
idsPartial<{ root: string; track: string; label: string; circle: string; }>The ids of the elements in the progress bar. Useful for composition.
localestring"en-US"The locale to use for formatting the value.
maxnumber100The maximum allowed value of the progress bar.
minnumber0The minimum allowed value of the progress bar.
modelValuenumber | nullThe v-model value of the progress
orientation'horizontal' | 'vertical'"horizontal"The orientation of the element.
translationsprogress.IntlTranslationsThe localized messages to use.

#Track

A styled part — no props of its own; it takes the anatomy's shared styling.

#ValueText

A styled part — no props of its own; it takes the anatomy's shared styling.

#View

PropTypeDefaultDescription
stateProgressState—