mljr-ui · showcase

Stepper

Horizontal multi-step progress indicator. States: complete / active / upcoming.

layout stepper
Controls
active
Current props
active: ""

Usage

layout.Stepper(layout.StepperProps{},
    layout.Step{Label: "Account",  State: layout.StepComplete},
    layout.Step{Label: "Profile",  State: layout.StepActive},
    layout.Step{Label: "Payment"},
    layout.Step{Label: "Confirm"},
)

All combinations (4)

Enum controls only · bool and text use defaults

1
1
Account
2
Profile
3
Payment
4
Confirm
2
Account
2
Profile
3
Payment
4
Confirm
3
Account
Profile
3
Payment
4
Confirm
4
Account
Profile
Payment
4
Confirm

Props

NameTypeOptionsDefault
activeenum1, 2, 3, 42