LinearProgress
Imports
import {LinearProgress} from 'material-expressive-react';
import {LinearProgress} from 'material-expressive-react/progress';
Props
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| buffer | number | No | Buffer amount to display, a fraction between 0 and max. | |
| fourColor | boolean | No | Cycle between 4 colors when indeterminate. | |
| indeterminate | boolean | No | Display indeterminate progress. | |
| max | number | No | Maximum progress to display, defaults to 1. | |
| value | number | No | Progress to display, a fraction between 0 and max. |
Events
This component does not explicitly re-emit DOM events via wrapper props.
Slots
Material Web components frequently use named slots. In React, you can pass slot="..." on children (e.g. <Icon slot="icon" />).
If you need to slot a child component that does not accept a slot prop, use the Slotted utility (see Utilities → Slotted).
Examples
See Storybook for live examples and variants.