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

Toggle group

Use Toggle group 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

toggle-group

{#include components/forms/toggle-group /}
Toggle group — PatternFly v6 
 Optional: id — DOM id on the root; omit unless something else references the group.
              ariaLabel (optional) 
 Model mode: pass toggleGroup=<org.sitenetsoft.quarkus.pha.model.ToggleGroup> — selection Alpine generated at build().