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

Pagination

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

pagination

{#include components/navigation/pagination /}
Pagination — PatternFly v6 
 Two modes.
   Model-driven: pass pagination=<org.sitenetsoft.quarkus.pha.model.Pagination> (built via
     Pagination.of(id, navLabel)) — renders the full live pagination: total-items, per-page
     menu, and the nav with page input, all wired through generated Alpine state.
   Slot shell: omit pagination and compose the markup in the main block.
   Shell params: id — DOM id on the root; omit unless something else references the pagination.
                 compact, bottom (optional booleans); modifiers — extra pf-m-* classes (optional)