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

Avatar

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

avatar

{#include components/data-display/avatar /}
Avatar — PatternFly v6 
 Model mode: pass avatar=<org.sitenetsoft.quarkus.pha.model.Avatar> — img, initials or SVG anatomy. 
 Param mode (img flavour only): 
 Required: src, alt 
 Optional: id — DOM id on the root; omit unless something else references the avatar.
                                                   size (sm/md/lg/xl), bordered