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.

The duration of the fill animation in milliseconds.

animationDuration: number

Whether the default label is hidden.

hideLabel: boolean

Whether the progress is indeterminate. An indeterminate progress has no value and does not show the default label.

indeterminate: boolean

The position for the default label of the control.

labelAlign: LinearProgressLabelAlign

Format string for the default label of the control. Placeholders: {0} - current value of the control. {1} - max value of the control.

labelFormat: string

The maximum value of the control.

max: number

Whether the fill of the control is striped.

striped: boolean

The value of the control.

value: number

The variant of the control.

variant: StyleVariant