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

Expandable section

Use Expandable section 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

expandable-section

{#include components/data-display/expandable-section /}
Expandable section — PatternFly v6 
 Required: toggleText 
 Optional: id — DOM id on the root; omit unless something else references the section.
                                                                                expanded (optional) 
 Model mode: pass section=<org.sitenetsoft.quarkus.pha.model.ExpandableSection> —
   all variations incl. detached, disclosure, indented, truncate, dynamic toggle text,
   custom toggle markup and heading-wrapped toggles.