Skip to content

Stepper API

API reference docs for the Stash Stepper component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import Stepper from '@leaflink/stash/Stepper.vue';

Props

NameTypeDefaultDescription
linearbooleanfalseA linear stepper prevents navigation to steps that are ahead of the completed ones
orientationStepperOrientationverticalDetermines whether the stepper is horizontal or vertical
stepnumber-1The current step index
substepnumber-1The current substep index
themeStepperThemedarkDetermines the theme of the stepper
useResponsiveNavbooleanfalseForce responsive view on horizontal orientation

Slots

NameDescription
defaultDefault slot to compose multiple steps

Events

NameDescription
update:stepEmitted when the step changes
update:substepEmitted when the substep changes