vael-ui v0.3.10

Navigation & Menus

Stepper

Install

import { Stepper } from 'vael-ui'

Playground

  1. 2Banana
  2. 3Cherry
  3. 4Date
  4. 5Elderberry
import { Stepper } from 'vael-ui'

<Stepper orientation="horizontal" linear clickable motionCss :items="items">Stepper</Stepper>

Props

NameTypeDefaultDescription
itemsreadonly T[]
orientation"horizontal" | "vertical""horizontal"
linearboolean | undefinedtrueSteps ahead of the active one are only clickable once reached (no skipping ahead). Past/current steps stay clickable.
clickableboolean | undefinedtrue`false` renders a pure display/progress indicator — no click handling at all.
motionCssboolean | undefinedtrueGates the built-in check-mark/number swap transition inside the step circle.
uiPartial<{ root: UiPartValue; step: UiPartValue; trigger: UiPartValue; circle: UiPartValue; content: UiPartValue; label: UiPartValue; description: UiPartValue; connector: UiPartValue; }> | undefined
modelValuenumber | undefined0

Slots

NameTypeDescription
item{ item: T; index: number; active: boolean; completed: boolean; disabled: boolean; }

Events

NameTypeDescription
change[index: number, item: T]
update:modelValue[value: number]

Exposed

NameTypeDescription
elunknownType inference unavailable — vue-component-meta cannot resolve defineExpose on this generic component.