This is a lab
component and as such is not considered stable and may be
subject to breaking changes in future releases. You need to import it from
@hitachivantara/uikit-react-lab
.
Usage
The following example illustrates the usage of the HvWizard
component. The wizard is composed of several steps, the children elements of the HvWizard
component.
In the example, the second step is a custom component that contains a form. The custom component makes use of the HvWizardContext
to mark the step
as valid or invalid based on the form validation.
The HvWizard
component also accepts a skippable
prop that will allow the user to skip steps. A skip button will be displayed when that prop is set to true
.