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.

InputText

InputText extends standard InputText with skinning capabilities.

Basic
Floating Label
Left Icon
Right Icon
Help Text
Enter your username to reset your password.
Invalid
Username is not available.
Disabled

<div class="card">
    <h5>Basic</h5>
    <p:inputText/>

    <h5>Floating Label</h5>
    <span class="ui-float-label">
       <p:inputText id="float-input" value="#{inputTextView.text}"/>
       <p:outputLabel for="@previous" value="Username"/>
   </span>

    <h5>Left Icon</h5>
    <span class="ui-input-icon-left">
        <i class="pi pi-search" />
        <p:inputText placeholder="Search" />
    </span>

    <h5>Right Icon</h5>
    <span class="ui-input-icon-right">
        <i class="pi pi-spin pi-spinner" />
        <p:inputText />
    </span>

    <h5>Help Text</h5>
    <div class="p-field">
        <p:outputLabel for="username1" styleClass="p-d-block">Username</p:outputLabel>
        <p:inputText id="username1" styleClass="p-d-block"/>
        <small class="p-d-block">Enter your username to reset your password.</small>
    </div>

    <h5>Invalid</h5>
    <div class="p-field">
        <p:outputLabel for="username2" styleClass="p-d-block">Username</p:outputLabel>
        <p:inputText id="username2" styleClass="p-d-block ui-state-error"/>
        <small class="p-d-block ui-state-error">Username is not available.</small>
    </div>

    <h5>Disabled</h5>
    <p:inputText disabled="true" />
</div>