LinearProgress

express an unspecified wait time or display the length of a process.

<LinearProgress/>

Props

PropTypeDefaultDescription
valuenumberThe value of the progress indicator for the determinate and buffer variants. Value between 0 and 100.
valueBuffernumberThe value for the buffer variant. Value between 0 and 100.
variant 'determinate' | 'indeterminate' indeterminateThe variant to use. Use indeterminate or query when there is no progress value.
classesobjectOverride or extend the styles applied to the component. See CSS API below for more details.
sxSxPropsSx props for 'Box'
data-testidstringA data-testid for the progress bar.
styleReact.CSSPropertiesInline style for the progress bar.
keyReact.KeyReact key for the progress bar.
color 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'inherit' semantic blueThe color of the component.
classNamestring-The CSS class name to apply custom styles to the linear progress.
aria-labelstringThe label for the linear progress as a string.
aria-labelledbystringAn id or list of ids separated by a space that label the linear progress.
aria-describedbystringIdentifies the element (or elements) that describes the element on which the attribute is set.

The ref is forwarded to the root element.

Linear Indeterminate

<LinearProgress/>

Linear Determinate

<LinearProgress variant="determinate" value={10}/>