Skip to content

Stepper

Shows workflow steps with optional step selection.

Usage

vue
<script setup>
import { ref } from "vue";
import { ArchStepper } from "@archora/ui";

const current = ref("build");
const steps = [
  { id: "plan", label: "Plan", status: "complete" },
  { id: "build", label: "Build" }
];
</script>

<template>
  <ArchStepper v-model="current" :steps="steps" clickable />
</template>

Live sandbox

Stepper can be tested directly on this page.

interactive
<Stepper />

Props

PropTypeDefaultDescription
stepsreadonly { id: string; label: string; description?: string; status?: string; disabled?: boolean }[]-Step list.
modelValuestring-v-model value.
orientation"horizontal" | "vertical""horizontal"Orientation.
clickablebooleanfalseAllows selecting steps by click.

Events

EventPayloadDescription
update:modelValueid: stringmodelValue change.
selectid: stringItem selection.