Skip to content

Commit

Permalink
[docs][material-ui] Add docs for complementary stepper components (mu…
Browse files Browse the repository at this point in the history
…i#41900)

Signed-off-by: Andy Le <[email protected]>
Signed-off-by: Zeeshan Tamboli <[email protected]>
Co-authored-by: Diego Andai <[email protected]>
Co-authored-by: Sam Sycamore <[email protected]>
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
4 people authored and joserodolfofreitas committed Jul 29, 2024
1 parent 8fd2d1e commit 9c1555b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/data/material/components/steppers/steppers.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ Steppers may display a transient feedback message after a step is saved.
This component is no longer documented in the [Material Design guidelines](https://m2.material.io/), but Material UI will continue to support it.
:::

## Introduction

The Stepper component displays progress through a sequence of logical and numbered steps.
It supports horizontal and vertical orientation for desktop and mobile viewports.

Steppers are implemented using a collection of related components:

- Stepper: the container for the steps.
- Step: an individual step in the sequence.
- Step Label: a label for a Step.
- Step Content: optional content for a Step.
- Step Button: optional button for a Step.
- Step Icon: optional icon for a Step.
- Step Connector: optional customized connector between Steps.

## Basics

```jsx
import Stepper from '@mui/material/Stepper';
import Step from '@mui/material/Step';
import StepLabel from '@mui/material/StepLabel';
```

## Horizontal stepper

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

0 comments on commit 9c1555b

Please sign in to comment.