Skip to content

Commit c83dfd8

Browse files
github-actions[bot]anle9650DiegoAndaimapache-salvajeZeeshanTamboli
authored
[docs][material-ui] Add docs for complementary stepper components (@anle9650) (#42613)
Signed-off-by: Andy Le <[email protected]> Signed-off-by: Zeeshan Tamboli <[email protected]> Co-authored-by: Andy Le <[email protected]> Co-authored-by: Diego Andai <[email protected]> Co-authored-by: Sam Sycamore <[email protected]> Co-authored-by: ZeeshanTamboli <[email protected]>
1 parent c890b25 commit c83dfd8

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/data/material/components/steppers/steppers.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,29 @@ Steppers may display a transient feedback message after a step is saved.
2222
This component is no longer documented in the [Material Design guidelines](https://m2.material.io/), but Material UI will continue to support it.
2323
:::
2424

25+
## Introduction
26+
27+
The Stepper component displays progress through a sequence of logical and numbered steps.
28+
It supports horizontal and vertical orientation for desktop and mobile viewports.
29+
30+
Steppers are implemented using a collection of related components:
31+
32+
- Stepper: the container for the steps.
33+
- Step: an individual step in the sequence.
34+
- Step Label: a label for a Step.
35+
- Step Content: optional content for a Step.
36+
- Step Button: optional button for a Step.
37+
- Step Icon: optional icon for a Step.
38+
- Step Connector: optional customized connector between Steps.
39+
40+
## Basics
41+
42+
```jsx
43+
import Stepper from '@mui/material/Stepper';
44+
import Step from '@mui/material/Step';
45+
import StepLabel from '@mui/material/StepLabel';
46+
```
47+
2548
## Horizontal stepper
2649

2750
Horizontal steppers are ideal when the contents of one step depend on an earlier step.

0 commit comments

Comments
 (0)