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.

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.

Badge

Badge is a small status indicator for another element.

Numbers
284123
Positioned Badge
2
10+
Button Badge
8
8
Sizes
246

<div class="card">
    <h:form>
     <h5 class="p-mt-0">Numbers</h5>
     <p:badge value="2" styleClass="p-mr-2"></p:badge>
     <p:badge value="8" severity="success" styleClass="p-mr-2"></p:badge>
     <p:badge value="4" severity="info" styleClass="p-mr-2"></p:badge>
     <p:badge value="12" severity="warning" styleClass="p-mr-2"></p:badge>
     <p:badge value="3" severity="danger"></p:badge>
	
     <h5 class="p-mb-4">Positioned Badge</h5>
	
     <p:badge value="2">
         <i class="pi pi-bell" style="font-size: 2rem"/>
     </p:badge>
	
     <p:badge value="10+" severity="danger">
         <i class="pi pi-calendar p-ml-4" style="font-size: 2rem"/>
     </p:badge>
	
     <p:badge severity="danger">
         <i class="pi pi-envelope p-ml-4" style="font-size: 2rem"/>
     </p:badge>
	
     <h5>Button Badge</h5>
     <p:badge value="8">
         <p:commandButton value="Emails"/>
     </p:badge>
     <p:badge value="8" severity="danger">
         <p:commandButton value="Messages" icon="pi pi-users" styleClass="p-ml-4" />
     </p:badge>
	
     <h5>Sizes</h5>
     <p:badge value="2" styleClass="p-mr-2"></p:badge>
     <p:badge value="4" styleClass="p-mr-2" size="large" severity="warning"></p:badge>
     <p:badge value="6" size="xlarge" severity="success"></p:badge>
    </h:form>
</div>