Skip to content

Stepper ⚠️ Experimental

The Stepper component can be used imported from:

Playground

Parameters

Events

This component has events. Check the documentation about how to use the events.

NamePayloadDescription
ngModelChangenumberReturns the new value of the model
restartedvoidEmitted on value reset

Slots

This component has slots. Check the documentation about how to use the slots.

NameTagsDescription
labelspan

Parameters use

Check the documentation about how to use the parameters.

ngModel

Attention!

If you hardcode this value, it will not be reactive and the selection won't change. Use a variable instead and, ideally, a closed loop.

The model attribute is used to define the current step in the stepper

Make sure the value is between 1 and the total number of steps.

label

The label attribute is used to define the label of the stepper.

We can also use the label slot:

Stepper

config

The config attribute is used to center the step counter and the label. By default, both the step counter and the label are aligned to the left. The only possible value is center.

steps

The steps attribute is used to define the total number of steps in the stepper. If not provided, the default value is 10.

Flags

disabled

The disabled attribute is used to block the interaction with the stepper.

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

CodeSandbox example

Sorry, not available yet ☹️