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

Divider

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

divider

{#include components/data-display/divider /}
Divider — PatternFly v6 
                                                                                  
 Renders a horizontal rule, a list separator, or a flex-child separator depending 
 on the host context. The same wrapper handles vertical mode and per-breakpoint   
 responsive inset / orientation switches.                                         
                                                                                  
 Parameters:                                                                      
   component       (optional) — "hr" (default) | "li" | "div".                    
                               "hr" emits <hr> with no role attribute.            
                               "li"/"div" emit the element with role.             
   vertical        (optional) — boolean. Applies pf-m-vertical (column layout).   
                               Implies component="div" when component is omitted. 
   inset           (optional) — base inset token.                                 
                               none | xs | sm | md | lg | xl | 2xl | 3xl          
   insetOnSm /     (optional) — per-breakpoint inset overrides, same token set.   
     OnMd / OnLg /                Applies pf-m-inset-{size}-on-{bp}.              
     OnXl / On2xl                                                                 
   verticalOnMd /  (optional) — boolean. Switches to vertical orientation at the  
     OnLg / OnXl /              named breakpoint and above.                       
     On2xl                                                                        
   horizontalOnMd /(optional) — boolean. Switches back to horizontal at the named 
     OnLg / OnXl /              breakpoint and above. Pair with vertical (or      
     On2xl                      verticalOn*) to alternate orientations.           
   role            (optional) — "separator" (default) | "presentation". Applied   
                               to li/div modes (hr is implicit).                  
 Model mode: pass divider=<org.sitenetsoft.quarkus.pha.model.Divider> (built via Divider.builder()).