Skip to content

NavigationStepper ​

The steps of a process, linear or not, with the current step optionally in the URL.

ts
import { NavigationStepper } from '@zairakai/vue-components/Navigation'

Usage ​

vue
<NavigationStepper />

Example ​

  1. AddressWhere to ship
  2. Payment
vue
<script setup>
  import { ref } from 'vue'

  const step = ref(1)
  const steps = [{ label: 'Account' }, { label: 'Address', description: 'Where to ship' }, { label: 'Payment' }]
</script>

<template>
  <NavigationStepper
    v-model="step"
    :steps="steps"
  />
</template>

Props ​

NameTypeDefaultDescription
idstring
classstring
stepsarray[]The steps: { id, label, description }.
modelValuenumberundefinedThe index of the current step, starting at 0.
linearbooleantrueIn a linear stepper only the completed steps can be reached again.
orientationstring'horizontal'
queryParamstringKeep the current step in this query parameter of the URL (?step=2).
labelstring

Events ​

NameDescription
update:modelValue

Slots ​

NameDescription
marker

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.