packages/docs/src/pages/en/components/steppers.md
The v-stepper component displays progress through numbered steps.
A stepper can be used for a multitude of scenarios, including shopping carts, record creation and more.
<ExamplesUsage name="v-stepper" /> <PromotedEntry />::: warning
Due to the massive differences in display and functionality between horizontal and vertical steppers, the vertical property is moving to a new component v-stepper-vertical.
:::
| Component | Description |
|---|---|
| v-stepper | Primary Component |
| v-stepper-actions | Actions for stepper |
| v-stepper-header | Container for stepper items |
| v-stepper-item | Primary Component |
| v-stepper-window | Window container for stepper window items |
| v-stepper-window-item | Items for stepper window |
The recommended placement of elements inside of v-stepper is:
v-stepper-header on topv-stepper-window or other forms of content below the stepper headerv-stepper-actions after the stepper window| Element / Area | Description |
|---|---|
| 1. Container | The Stepper container holds all v-stepper components and is composed of 3 major parts: v-stepper-header, v-stepper-window, and v-stepper-actions. |
| 2. Header | The header is the container for the v-stepper-item components. |
| 3. Window | The window is the container for the v-stepper-window-item components. |
| 4. Actions (optional) | A content area that typically contains one or more v-btn components |
The v-stepper component provides a linear progression process for gathering and displaying information to a user, similar to a form wizard.
The v-stepper component has multiple props to customize its visual appearance and functionality.
A basic stepper has non-editable steps that force a user to move linearly through your process.
<ExamplesExample file="v-stepper/misc-non-editable" />An editable step can be selected by a user at any point and will navigate them to that step.
<ExamplesExample file="v-stepper/misc-editable" />Steppers also have an alternative label style which places the title under the step itself.
<ExamplesExample file="v-stepper/prop-alternate-label" />Linear steppers will always move a user through your defined path.
<ExamplesExample file="v-stepper/misc-linear" />An optional step can be called out with sub-text.
<ExamplesExample file="v-stepper/misc-optional" />The stepper component accepts an array of items similar to other components such as v-list and v-select.
<ExamplesExample file="v-stepper/misc-horizontal" />::: warning
If no value is provided, the stepper will assign a value based off of its index + 1
:::
Use the mobile prop to hide the title and subtitle of the v-stepper-item component.
An error state can be displayed to notify the user of some action that must be taken.
<ExamplesExample file="v-stepper/misc-error" />Steppers can have their steps dynamically added or removed. If a currently active step is removed, be sure to account for this by changing the applied model.
<ExamplesExample file="v-stepper/misc-dynamic" />The error state can also be applied to the alternative label style.
<ExamplesExample file="v-stepper/misc-alternate-error" />Non-linear steppers allow the user to move through your process in whatever way they choose.
<ExamplesExample file="v-stepper/prop-non-linear" />