Skip to main content

BwWizard | bw-wizard

Overview

The wizard component is used for multi-step forms. You can have optional and required steps. It has methods to navigate between steps and a method to check if the current step can be skipped. The mode property can be set to make the wizard horizontal (default) or vertical.

Rather than using the wizard component directly, you should use bw-view-manager to build advanced multi step layouts. Read the wizard tutorial for examples.

Properties

PropertyAttributeDescriptionTypeDefault
modemodeDisplay mode: 'horizontal' (default) or 'vertical'."horizontal" | "vertical"'horizontal'
stepsstepsThe steps of the wizard.WizardStep[][]

Events

EventDescriptionType
finishEmitted when the wizard is finished.CustomEvent<void>
stepChangeEmitted when the current step changes.CustomEvent<number>

Methods

canSkip() => Promise<boolean>

Checks if the current step can be skipped.

Returns

Type: Promise<boolean>

next() => Promise<void>

Goes to the next step.

Returns

Type: Promise<void>

previous() => Promise<void>

Goes to the previous step.

Returns

Type: Promise<void>

reset() => Promise<void>

Resets the wizard.

Returns

Type: Promise<void>

skip() => Promise<void>

Skips the current step.

Returns

Type: Promise<void>

Shadow Parts

PartDescription
"container"inner flex container that wraps the whole wizard

Dependencies

Used by

Graph


© 2025 United Systems & Software - All Rights Reserved.