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

Masthead

Use Masthead 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

masthead

{#include components/navigation/masthead /}
Masthead — PatternFly v6 
 Optional: id — DOM id on the root; omit unless something else references the masthead.
                                           displayStack  (optional) — boolean; pf-m-display-stack (brand row above content).
                                           displayInline (optional) — boolean; pf-m-display-inline (brand and content side-by-side).
                                           inset         (optional) — none | sm | md | lg | xl | 2xl; pf-m-inset-{inset}. 
 Model mode: pass masthead=<org.sitenetsoft.quarkus.pha.model.Masthead> — brand/toggle/content come from the model;
   rich content compositions (toolbars, composed buttons) stay on the slot shell.