# Blazor Steps Overview

The Steps are the building blocks of the Stepper component. You can include the desired steps by adding a `StepperStep` tag for every step. The steps appearance can be configured through the features the `StepperStep` exposes - each step includes a visual [indicator](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/indicators), you can define a [label](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/labels) for the corresponding indicator and manage the step [state](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/state) and [validity](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/validation).

The whole rendering of the steps can also be customized with a [Step Template](https://www.telerik.com/blazor-ui/documentation/components/stepper/step-template).

> caption In this article:

* [Step Parameters](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/overview#step-parameters)
* [Steps Declaration](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/overview#steps-declaration)

## Step Parameters

The `StepperStep` exposes the following parameters which allow you to configure their appearance:

### Indicators

The [visual indicators](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/indicators) of the steps can include the content below.

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter | Type     | Description                                                                                                                                                                                                                                                         |
| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Text`    | `string` | Specifies the step indicator text.                                                                                                                                                                                                                                  |
| `Icon`    | `object` | The icon which will be rendered inside the step indicator. The parameter can accept [properties of the static `SvgIcon` class, members of the `FontIcon` enum](https://www.telerik.com/blazor-ui/documentation/common-features/icons), or strings for custom icons. |

### State

The steps can have one of the [states](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/state) below.

| Parameter  | Type   | Description                        |
| ---------- | ------ | ---------------------------------- |
| `Disabled` | `bool` | Specifies if the step is disabled. |
| `Optional` | `bool` | Specifies if the step is optional. |

### Other parameters

| Parameter | Type     | Description                                                                                                                                                               |
| --------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Label`   | `string` | Specifies the [label text](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/labels) that will be rendered under the corresponding step indicator. |
| `Valid`   | `bool?`  | Specifies if the step is [valid](https://www.telerik.com/blazor-ui/documentation/components/stepper/steps/validation) or not.                                             |
| `Class`   | `string` | CSS class for the current step.                                                                                                                                           |

## Steps Declaration

To include the desired steps for the Stepper component, you can either manually declare a `StepperStep` tag for every step or loop through your collection with steps data and render one `StepperStep` tag binding its parameters to the corresponding field of your model.

> caption Loop through your collection and generate a `StepperStep` for every item in the collection.

<demo metaUrl="client/stepper/steps/overview/example-1/" height="320"></demo>

## See Also

* [Live Demo: Stepper Overview](https://demos.telerik.com/blazor-ui/stepper/overview)
