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

List

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

list

{#include components/data-display/list /}
List — PatternFly v6 
 Parameters:                                                                    
   id        (optional) — DOM id on the list container                          
   component (optional) — "ul" (default) | "ol". Matches PF React's prop name.  
   type      (optional) — only when component="ol"; passes through to the html  
                          type attr. Values: "1" (default) | "A" | "a" | "I" | "i" 
   plain     (optional) — applies pf-m-plain (no bullets, no indent)            
   inline    (optional) — applies pf-m-inline (horizontal row)                  
   bordered  (optional) — applies pf-m-bordered (horizontal rules between rows) 
   iconLg    (optional) — applies pf-m-icon-lg (larger __item-icon glyphs)      
   ariaLabel (optional) — accessible label on the list element                  
                                                                                
 Slot:                                                                          
   {#content} — one or more <li> elements. For icon rows, include a             
                <span class="pf-v6-c-list__item-icon"> sibling.                 
 Model mode: pass itemList=<org.sitenetsoft.quarkus.pha.model.ItemList> (class named ItemList to coexist with java.util.List).