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.

Spinner

Spinner is used to provide an input with increment and decrement buttons on an input text.


<div class="card">
    <h:form>
        <div class="ui-fluid p-formgrid p-grid">
            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Basic Spinner"/>
                <p:spinner id="basic" value="#{spinnerView.number1}"/>
            </div>

            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Step Factor"/>
                <p:spinner id="step" value="#{spinnerView.number2}" stepFactor="0.25"/>
            </div>

            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Min/Max"/>
                <p:spinner id="minMax" value="#{spinnerView.number3}" min="0" max="100"/>
            </div>

            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Rotate"/>
                <p:spinner id="rotate" value="#{spinnerView.number6}" min="0" max="10" rotate="true"/>
            </div>

            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Rounded"/>
                <p:spinner id="rounded" value="#{spinnerView.number7}" min="0" max="55" stepFactor="5" round="true"/>
            </div>

            <div class="p-field p-col-12 p-md-4">
                <p:outputLabel for="@next" value="Prefix"/>
                <p:spinner id="prefix" value="#{spinnerView.number4}" prefix="$" min="0"/>
            </div>
        </div>
    </h:form>
</div>