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


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


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

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

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

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

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

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

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

            <div class="field col-12 md:col-4">
                <p:outputLabel for="@next" value="Horizontal"/>
                <p:spinner id="horizontal" value="#{spinnerView.number8}" buttons="horizontal" />

            <div class="field col-12 md:col-4">
                <p:outputLabel for="@next" value="Horizontal after"/>
                <p:spinner id="horizontalAfter" value="#{spinnerView.number9}" buttons="horizontal-after" 
                           upButtonStyleClass="ui-button-success" downButtonStyleClass="ui-button-danger"/>

        <div class="ui-fluid formgrid grid">
            <div class="field col-12 md:col-1">
                <p:outputLabel for="@next" value="Vertical"/>
                <p:spinner id="vertical" value="#{spinnerView.number10}" buttons="vertical"
                           upButtonStyleClass="ui-button-secondary" downButtonStyleClass="ui-button-secondary"/>

Session expired

Reloading page