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
Name | Type | Default | Description |
---|---|---|---|
linear | boolean | false | A linear stepper prevents navigation to steps that are ahead of the completed ones |
orientation | StepperOrientation | vertical | Determines whether the stepper is horizontal or vertical |
step | number | -1 | The current step index |
substep | number | -1 | The current substep index |
theme | StepperTheme | dark | Determines the theme of the stepper |
useResponsiveNav | boolean | false | Force responsive view on horizontal orientation |
Slots
Name | Description |
---|---|
default | Default slot to compose multiple steps |
Events
Name | Description |
---|---|
update:step | Emitted when the step changes |
update:substep | Emitted when the substep changes |