A linear progress indicator used to express unspecified wait time or display the length of a process.
- Slots
-
default— Custom label content. A slotted element replaces the default label.
- CSS Parts
-
base— The wrapper of the linear progress. -
track— The linear progress track area. -
fill— The linear progress indicator area. -
secondary— Added to the second fill element, which the indeterminate animation uses. -
striped— Added to the fill parts when the progress is striped. -
label— The linear progress label. -
value— The linear progress label value. -
indeterminate— Added to the fill parts while the progress is indeterminate. -
primary— Added to the fill parts when the variant is `primary`. -
danger— Added to the fill parts when the variant is `danger`. -
warning— Added to the fill parts when the variant is `warning`. -
info— Added to the fill parts when the variant is `info`. -
success— Added to the fill parts when the variant is `success`. -
counter— Added to the label value while it shows the default percentage text. -
fraction— Added to the label value when the percentage has a fractional part.
Properties
Section titled "Properties"animationDuration
Section titled "animationDuration"The duration of the fill animation in milliseconds.
animationDuration: number indeterminate
Section titled "indeterminate"Whether the progress is indeterminate. An indeterminate progress has no value and does not show the default label.
indeterminate: boolean labelAlign
Section titled "labelAlign"The position for the default label of the control.
labelAlign: LinearProgressLabelAlign labelFormat
Section titled "labelFormat"Format string for the default label of the control. Placeholders: {0} - current value of the control. {1} - max value of the control.
labelFormat: string