1. Reference
  2. Forms and input

<stepper>

A Material stepper that walks through numbered steps, vertically or horizontally.

Forms and input
stepper.ham
<stepper id="signup">
    <step title="Account"
          state="complete">
        <text>ana@example.com</text>
    </step>
    <step title="Profile"
          state="editing">
        <text>Add a photo and a short bio.</text>
    </step>
    <step title="Done"/>
</stepper>
The snippet drawn by Hype Apps on a phone, in light mode The snippet drawn by Hype Apps on a phone, in dark mode
This snippet as Hype Apps draws it on a phone. It follows this page's light or dark theme.

Attributes

NameWhat it doesDefault
orientation Stepper orientation
vertical, horizontal
vertical

Commands

NameWhat it does
goto Go to a step.
next Next step.
prev Previous step.
reset Back to the first step.

Readings

NameWhat it does
complete Whether the last step is reached.
index The current step, from 0.

Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.

This page is also Markdown, and all of HAM is in llms.txt.