Live demo — this example is server-driven; run the showcase locally for the interactive version.
Wizard
Use Wizard straight from a Qute template — parameters and slots instead of Java builders. This reference is generated
from the runtime template sources: each template documents its parameters and slots in the header comment shown
beneath its include line.
Wizard — PatternFly v6. The root renders the nav / main / footer scaffold;
fill the navItems (wizard-nav-item includes), body, and footer slots.
Optional params:
id, attrs — root id / raw passthrough (e.g. an Alpine step machine).
navLabel — aria-label on the step nav (default "Steps").
plain — pf-m-plain (no nav border / chrome).
hasHeader — render the __header region with the wizardHeader slot.
Slots: wizardHeader (optional), navItems, body, footer.
Model mode: pass wizard=<org.sitenetsoft.quarkus.pha.model.Wizard> — the client-side Alpine step machine
(server-driven HTMX wizards keep the slot shell). Wrap chrome owns nothing; x-data lives on an outer div.
Wizard nav step — one entry in the step nav.
Required: label.
Optional params:
current — boolean; static pf-m-current + aria-current=step.
currentExpr — Alpine expression for the current step (binds pf-m-current + aria-current).
disabled — boolean; disables the step button.
status — success | warning | danger; renders the status icon.
stepNum — number badge (toggle-num) shown before the label.
liAttrs — raw passthrough on the <li> (e.g. x-show for conditional steps).
attrs — raw passthrough on the button (e.g. @click="step = 2" or hx-get=...).