Locale

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

Avatar

Avatar represents people using icons, labels and images.

Label
P
V
U
Label - Circle
P
V
U
Label - Badge and Dynamic
4
U
PR
JM
Icon
Icon - Circle
Icon - Badge
4
Image
Avatar Group
+2
Badge and Gravatar
4
2

<div class="p-grid">
    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Label</h5>
            <p:avatar label="P" styleClass="p-mr-2" size="xlarge" />
            <p:avatar label="V" styleClass="p-mr-2" size="large" style="background-color:#2196F3; color: #ffffff"/>
            <p:avatar label="U" styleClass="p-mr-2" style="background-color:#9c27b0; color: #ffffff" />
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Label - Circle</h5>
            <p:avatar label="P" styleClass="p-mr-2" size="xlarge" shape="circle" />
            <p:avatar label="V" styleClass="p-mr-2" size="large" style="background-color:#2196F3; color: #ffffff" shape="circle"  />
            <p:avatar label="U" styleClass="p-mr-2" style="background-color:#9c27b0; color: #ffffff" shape="circle"  />
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Label - Badge and Dynamic</h5>
            <p:badge value="4">
                <p:avatar label="U" size="xlarge" style="background-color:#4caf4f; color: #ffffff"/>
            </p:badge>
            <p:avatar label="PrimeFaces Rocks" dynamicColor="true" styleClass="p-ml-3" size="xlarge"/>
            <p:avatar label="Johann Chrysostom Wolfgang Amadeus Mozart" styleClass="p-ml-3"  dynamicColor="true"
                      size="xlarge"/>
        </div>
    </div>
</div>

<div class="p-grid">
    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Icon</h5>
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" size="xlarge" />
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" size="large" style="background-color:#2196F3; color: #ffffff"/>
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" style="background-color:#9c27b0; color: #ffffff" />
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Icon - Circle</h5>
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" size="xlarge" shape="circle" />
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" size="large" style="background-color:#2196F3; color: #ffffff" shape="circle" />
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" style="background-color:#9c27b0; color: #ffffff" shape="circle" />
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Icon - Badge</h5>
            <p:badge value="4">
                <p:avatar icon="pi pi-user" size="xlarge"/>
            </p:badge>
        </div>
    </div>
</div>

<div class="p-grid">
    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Image</h5>
            <p:avatar styleClass="p-mr-2" size="xlarge" shape="circle">
                <p:graphicImage name="demo/images/avatar/amyelsner.png"/>
            </p:avatar>
            <p:avatar styleClass="p-mr-2" size="large" shape="circle">
                <p:graphicImage name="demo/images/avatar/asiyajavayant.png"/>
            </p:avatar>
            <p:avatar styleClass="p-mr-2" shape="circle">
                <p:graphicImage name="demo/images/avatar/onyamalimba.png"/>
            </p:avatar>
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Avatar Group</h5>
            <p:avatarGroup styleClass="p-mb-3">
                <p:avatar size="large" shape="circle">
                    <p:graphicImage name="demo/images/avatar/amyelsner.png"/>
                </p:avatar>
                <p:avatar size="large" shape="circle">
                    <p:graphicImage name="demo/images/avatar/asiyajavayant.png"/>
                </p:avatar>
                <p:avatar size="large" shape="circle">
                    <p:graphicImage name="demo/images/avatar/onyamalimba.png"/>
                </p:avatar>
                <p:avatar size="large" shape="circle">
                    <p:graphicImage name="demo/images/avatar/ionibowcher.png"/>
                </p:avatar>
                <p:avatar size="large" shape="circle">
                    <p:graphicImage name="demo/images/avatar/xuxuefeng.png"/>
                </p:avatar>
                <p:avatar label="+2" shape="circle" size="large" style="background-color:#9c27b0; color: #ffffff" />
            </p:avatarGroup>
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Badge and Gravatar</h5>
            <p:badge value="4" severity="danger">
                <p:avatar size="xlarge">
                    <p:graphicImage name="demo/images/organization/walter.jpg"/>
                </p:avatar>
            </p:badge>
            <p:avatar gravatar="contact@primetek.com.tr" gravatarConfig="d=mp" size="xlarge" styleClass="p-ml-3" />
            <p:avatar gravatar="notfound@avatar.com" size="xlarge" styleClass="p-ml-3" />
            <p:badge value="2">
                <p:avatar gravatar="notfound@avatar.com" gravatarConfig="d=mp" size="xlarge" styleClass="p-ml-3"/>
            </p:badge>
        </div>
    </div>
</div>