Live demo — this example is server-driven; run the showcase locally for the interactive version.
Empty state
Use Empty state 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.
Empty state — PatternFly v6
Required: titleText
Optional: id — DOM id on the root; omit unless something else references the empty state.
iconName ("set:slug") — illustrative icon; omit for an icon-less state.
customIcon — set true and fill the {#icon} slot to put a component in the icon area
(e.g. a spinner) instead of an icon; overrides iconName.
bodyText — supporting copy under the title.
headingLevel — h1…h6 on the title (default h4). Styling comes from the class, not the tag.
size (xs | sm | lg | xl) — pf-m-{size} on the root.
status (danger | warning | success | info) — pf-m-{status}; colors the icon.
hasActions — set true and fill the {#actions} slot to render the footer.
Slots: {#icon} — custom icon-area content (requires customIcon), e.g. {#include components/feedback/spinner …}.
{#actions} — the footer's action area. Provide one OR MORE
<div class="pf-v6-c-empty-state__actions"> groups (PF's EmptyStateActions), each composing
button components. PF commonly uses two: a primary action, then a row of links.
Model mode: pass emptyState=<org.sitenetsoft.quarkus.pha.model.EmptyState> — footer actions are composed Button models.