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.

Password

Password component is an extended version of standard inputSecret component with theme integration, strength indicator and match mode.

Basic
Feedback
Feedback - Spanish
Inline Feedback
Toggle Mask
Match Passwords

<div class="card">
    <h:form>
        <h5>Basic</h5>
        <p:password id="nonFeedback" value="#{passwordView.password1}"/>
        
        <h5>Feedback</h5>
        <p:password id="feedback" value="#{passwordView.password2}" feedback="true"/>

        <h5>Feedback - Spanish</h5>
        <p:password id="turkishFeedback" value="#{passwordView.password3}" feedback="true"
                    promptLabel="Ingresa tu contraseña" weakLabel="Débil"
                    goodLabel="Buena" strongLabel="Fuerte"/>

           
        <h5>Inline Feedback</h5>
        <p:password id="inlineFeedback" value="#{passwordView.password5}" feedback="true" inline="true"/>
        
        <h5>Toggle Mask</h5>
        <p:password id="toggle" value="#{passwordView.password6}" toggleMask="true" redisplay="true"/>
    </h:form>
</div>

<div class="card">
    <h:form>
        <h5 class="mt-0">Match Passwords</h5>
        <div class="field grid">
            <p:outputLabel for="pwd1" styleClass="col-fixed" style="width:100px" value="Password"/>
            <div class="col">
                <p:password id="pwd1" value="#{passwordView.password5}" match="pwd2" label="Password 1" required="true"/>
            </div>
        </div>

        <div class="field grid">
            <p:outputLabel for="pwd2" styleClass="col-fixed" style="width:100px" value="Password"/>
            <div class="col">
                <p:password id="pwd2" value="#{passwordView.password5}" label="Password 2" required="true"/>
            </div>
        </div>

        <p:commandButton update="@form" value="Save"/>

        <p:messages id="messages" showDetail="true">
            <p:autoUpdate/>
        </p:messages>
    </h:form>
</div>

Session expired

Reloading page

Message:
StackTrace: