Skip to content
On this page

Stepper component demo

A reusable stepper that provides a visual reference of progress inside the dialog.

Demo

This example includes 3 steps. The content for each step can be provided via named slots as in OnboardingDialog component. When the current step is updated an update:current-step event is emitted.

1 of 4

totalSteps:

modelValue:

View code
vue
<onboarding-stepper
	:model-value="modelValue"
	:total-steps="totalSteps"
	:label="`${modelValue} of ${totalSteps}`"
>
</onboarding-stepper>

Usage

Props

Prop nameDescriptionTypeDefault
modelValueThe current stepNumber0
totalStepsThe total number of stepsNumber0
labelIf provided add a textual representation of step progressString''