Package org.patternfly.component.wizard


package org.patternfly.component.wizard
Provides a wizard component for guiding users through a multi-step workflow.

A wizard presents a series of steps with navigation, back/next buttons, and optional validation. It supports step types (default, review, summary), custom headers with title and description, custom footers, step enter/leave handlers, and asynchronous next/previous handlers using promises.

Key Classes

Usage

Create a basic wizard with steps:

import static org.jboss.elemento.Elements.p;
import static org.patternfly.component.wizard.Wizard.wizard;
import static org.patternfly.component.wizard.WizardStep.wizardStep;
import static org.patternfly.component.wizard.WizardStepType.review;

Wizard wizard = wizard().height(400)
        .addItem(wizardStep("step-0", "Step 1")
                .add(p().text("Step 1 content")))
        .addItem(wizardStep("step-1", "Step 2")
                .add(p().text("Step 2 content")))
        .addItem(wizardStep("step-2", "Review", review)
                .add(p().text("Review your selections")));
See Also: