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

Toolbar

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

toolbar

{#include components/navigation/toolbar /}
Toolbar — PatternFly v6. Root of the toolbar family; compose toolbar-content
   (> toolbar-content-section > toolbar-group / toolbar-item) in the main block. 
 Optional params:
     id, attrs       — root id / raw passthrough.
     variant         — primary | secondary (pf-m-*).
     noBackground    — pf-m-no-background.
     sticky          — pf-m-sticky.
     vertical        — pf-m-vertical. 
 Model mode: pass toolbar=<org.sitenetsoft.quarkus.pha.model.Toolbar> — typed sections/groups/items
   (Button + MenuToggle cross-model, generated search, text, dividers). Live filter/label-group
   compositions keep the slot shell.

toolbar-content

{#include components/navigation/toolbar-content /}
Toolbar content — one content row. Compose toolbar-content-section (and an
   optional expandable filters section) inside. Main-block content. 
 Optional: attrs — raw passthrough (e.g. x-show for an expandable row).

toolbar-content-section

{#include components/navigation/toolbar-content-section /}
Toolbar content section — holds toolbar-group / toolbar-item includes.
   Main-block content. 
 Optional: attrs — raw passthrough (e.g. x-show to toggle a filters row).

toolbar-group

{#include components/navigation/toolbar-group /}
Toolbar group — a cluster of related items. Main-block content. 
 Optional params:
     variant   — filter | toggle (pf-m-filter-group / pf-m-toggle-group).
     alignEnd  — pf-m-align-end (pushes the group to the row end).
     columnGap — gap token suffix, e.g. "none", "2xl" -> pf-m-column-gap-*.
     attrs     — raw passthrough.

toolbar-item

{#include components/navigation/toolbar-item /}
Toolbar item — one control (button, input, menu toggle, label group). Main-block content. 
 Optional params:
     variant — "label" -> pf-m-label (for the applied-filters label row).
     gap     — gap token suffix, e.g. "none", "xl", "4xl" -> pf-m-gap-*.
     alignEnd — pf-m-align-end.
     attrs   — raw passthrough.