Locale

Change the locale of the datepicker, schedule and client side validation messages.

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.

Bootstrap light blue and dark blue themes are also included in PrimeFaces 10.x builds for Elite subscribers.

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
Gravatar and fallback
W
NF

<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:#fff"/>
            <p:avatar label="U" styleClass="p-mr-2" style="background-color:#9c27b0; color:#fff" />
        </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:#fff" shape="circle"  />
            <p:avatar label="U" styleClass="p-mr-2" style="background-color:#9c27b0; color:#fff" 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" />
            </p:badge>
            <p:avatar label="PrimeFaces Rocks" dynamicColor="true" styleClass="p-ml-2" size="large"/>
            <p:avatar label="Johann Chrysostom Wolfgang Amadeus Mozart" dynamicColor="true" lightness="80"
                      styleClass="p-ml-2"/>
        </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:#fff"/>
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" style="background-color:#9c27b0; color:#fff" />
        </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:#fff" shape="circle" />
            <p:avatar icon="pi pi-user" styleClass="p-mr-2" style="background-color:#9c27b0; color:#fff" 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:#fff" />
            </p:avatarGroup>
        </div>
    </div>

    <div class="p-col-12 p-md-4">
        <div class="card">
            <h5>Gravatar and fallback</h5>
            <p:avatar styleClass="p-mr-2" size="xlarge" label="Walter">
                <p:graphicImage name="demo/images/organization/walter.jpg"/>
            </p:avatar>
            <p:avatar gravatar="contact@primetek.com.tr" gravatarConfig="d=mp" size="large" styleClass="p-mr-2" />
            <p:avatar gravatar="notfound@avatar.com" label="Not Found" styleClass="p-mr-2" />
            <p:avatar icon="pi pi-user" styleClass="p-mr-2">
                <p:graphicImage name="demo/images/organization/walter.jpg" rendered="false"/>
            </p:avatar>
        </div>
    </div>
</div>

Session expired

Reloading page

Message:
StackTrace: