# Stepper
> A step-by-step flow with numbered steps and its own navigation.
Source: https://native.shellui.dev/docs/components/navigation/stepper
## Installation
```bash
shellui-native add stepper
```
**Platforms:** MAUI ยท Avalonia. Also installs `icon`, `button`, `button-variants`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=stepper-basic)
## MAUI and Avalonia
- MAUI shows only the active step's view. On Avalonia every step stays in the tree and only the active one is visible.
- On Avalonia, the steps you have reached are tab stops, opened with Enter or Space.
## API
### Stepper
XAML children go to `Steps`.
| Property | Type | Default | Description |
|---|---|---|---|
| `CurrentStep` | `int` | `0` | Zero-based index of the active step. Two-way bindable. |
| `ShowNavigation` | `bool` | `true` | Shows the built-in previous / next buttons. |
| `PreviousText` | `string` | `"Previous"` | Text of the previous button. |
| `NextText` | `string` | `"Next"` | Text of the next button. |
| `ConfirmText` | `string` | `"Confirm"` | Text of the confirm button. |
| Event | Arguments | Description |
|---|---|---|
| `CurrentStepChanged` | `int` | User input only: setting CurrentStep, or calling Next / Previous, from code doesn't raise it. |
| `Confirmed` | โ | Raised by the Confirm button on the last step. |
| Method | Description |
|---|---|
| `Next()` | Moves to the next step. |
| `Previous()` | Moves to the previous step. |
### StepperStep
| Property | Type | Default | Description |
|---|---|---|---|
| `Title` | `string` | โ | Heading text. |
| `Description` | `string` | โ | Supporting text under the title. |