Live demo — this example is server-driven; run the showcase locally for the interactive version.

Menu toggle

Use Menu toggle 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.

Templates

{#include components/navigation/menu-toggle /}
Menu toggle — PatternFly v6 
 Two modes.
   Model-driven: pass toggle=<org.sitenetsoft.quarkus.pha.model.MenuToggle> (built via
     MenuToggle.of/split/typeahead builders) — variants, status icons, icon/avatar/badge,
     and the split-button / typeahead shapes.
   Slot shell: omit toggle and use the params + content slot below. 
 Optional: id — DOM id on the root; omit unless something else (e.g. aria-controls from a menu) references it.
              plain, primary, expanded, disabled, ariaLabel 
 Content slot: toggle label (required for non-plain toggles, passed as include body).