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


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


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

Feedback - Spanish
Inline Feedback
Match Passwords

<div class="card">
        <p:password id="nonFeedback" value="#{passwordView.password1}"/>

        <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.password4}" feedback="true" inline="true"/>

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

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

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

        <p:messages id="messages" showDetail="true">