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

Banner

Use Banner 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/feedback/banner /}
Banner — PatternFly v6 
 Optional: id — DOM id on the root; omit unless something else references the banner.
              variant — collapses PF's separate `color` and `status` props (mutually exclusive).
              Status variants (success | warning | danger | info | custom) auto-render an icon;
              color variants (red | orangered | orange | yellow | green | teal | blue | purple) render plain.
              Omit for the default (no color modifier, no icon).
              sticky — adds pf-m-sticky for pinned-to-top behavior inside a scroll container.
              screenReaderText — visually-hidden prefix announced by AT (e.g. "Warning:"). 
 Slot: message — the visible banner message. 
 Model mode: pass banner=<org.sitenetsoft.quarkus.pha.model.Banner> (built via Banner.of(message)).