Input Style

Free Themes

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

Saga Saga
Vela Vela
Arya Arya

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
4
U
Icon
Icon - Circle
Icon - Badge
4
Image
Avatar Group
+2
Image - Badge
4

<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</h5>
            <p:badge value="4">
                <p:avatar label="U" size="xlarge" style="background-color:#4caf4f; color: #ffffff"/>
            </p:badge>
        </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 image="../../resources/demo/images/avatar/amyelsner.png" styleClass="p-mr-2" size="xlarge" shape="circle" />
            <p:avatar image="../../resources/demo/images/avatar/asiyajavayant.png" styleClass="p-mr-2" size="large" shape="circle" />
            <p:avatar image="../../resources/demo/images/avatar/onyamalimba.png" styleClass="p-mr-2" shape="circle" />
        </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 image="../../resources/demo/images/avatar/amyelsner.png" size="large" shape="circle"/>
                <p:avatar image="../../resources/demo/images/avatar/asiyajavayant.png" size="large" shape="circle"/>
                <p:avatar image="../../resources/demo/images/avatar/onyamalimba.png" size="large" shape="circle"/>
                <p:avatar image="../../resources/demo/images/avatar/ionibowcher.png" size="large" shape="circle"/>
                <p:avatar image="../../resources/demo/images/avatar/xuxuefeng.png" size="large" shape="circle"/>
                <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>Image - Badge</h5>
            <p:badge value="4" severity="danger">
                <p:avatar image="../../resources/demo/images/organization/walter.jpg" size="xlarge"/>
            </p:badge>
        </div>
    </div>
</div>