Stepper

Visualize multi-step process (sign-up flow, checkout, wizard). Pass items array; set state=done|current|upcoming on each. orientation (horizontal default / vertical), variant (numbered default / dotted). timeline is for append-only history; stepper is for bounded sequential progress.

Minimal — pass an items array

  1. Sign up
  2. 2
    Verify email
  3. 3
    Invite team
<x-stepper :items="[
    ['label' => 'Sign up',      'state' => 'done'],
    ['label' => 'Verify email', 'state' => 'current'],
    ['label' => 'Invite team',  'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

with descriptions

  1. Cart
    3 items
  2. Address
    Confirmed
  3. 3
    Payment
    Visa ····
  4. 4
    Confirm
    Review
<x-stepper :items="[
    ['label' => 'Cart',    'desc' => '3 items',   'state' => 'done'],
    ['label' => 'Address', 'desc' => 'Confirmed', 'state' => 'done'],
    ['label' => 'Payment', 'desc' => 'Visa ····', 'state' => 'current'],
    ['label' => 'Confirm', 'desc' => 'Review',    'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

orientation=vertical

  1. Requirements
    Scope agreed
  2. Design
    Mockups approved
  3. 3
    Build
    In progress
  4. 4
    Release
    Scheduled
<x-stepper orientation="vertical" :items="[
    ['label' => 'Requirements', 'desc' => 'Scope agreed',      'state' => 'done'],
    ['label' => 'Design',       'desc' => 'Mockups approved',  'state' => 'done'],
    ['label' => 'Build',        'desc' => 'In progress',       'state' => 'current'],
    ['label' => 'Release',      'desc' => 'Scheduled',         'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

variant=dotted (compact)

<x-stepper variant="dotted" :items="[
    ['state' => 'done'],
    ['state' => 'done'],
    ['state' => 'current'],
    ['state' => 'upcoming'],
    ['state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

vertical + dotted

  1. Step 1 — done
  2. Step 2 — done
  3. Step 3 — current
  4. Step 4 — upcoming
<x-stepper orientation="vertical" variant="dotted" :items="[
    ['label' => 'Step 1 — done',     'state' => 'done'],
    ['label' => 'Step 2 — done',     'state' => 'done'],
    ['label' => 'Step 3 — current',  'state' => 'current'],
    ['label' => 'Step 4 — upcoming', 'state' => 'upcoming'],
]" />
Loading…
Couldn't load the HTML

all done — completed state

  1. Order
  2. Pay
  3. Ship
  4. Done
<x-stepper :items="[
    ['label' => 'Order', 'state' => 'done'],
    ['label' => 'Pay',   'state' => 'done'],
    ['label' => 'Ship',  'state' => 'done'],
    ['label' => 'Done',  'state' => 'done'],
]" />
Loading…
Couldn't load the HTML