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.

InputGroup

Text, icon, buttons and other content can be grouped next to an input by wrapping the addons and input inside .ui-inputgroup element. Multiple addons can be used within the same group as well.

Addons
$ .00
www
Multiple Addons
$ .00
Button Addons
Checkbox

<h:form>
    <div class="card">
        <h5>Addons</h5>
        <div class="p-grid ui-fluid">
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon"><i class="pi pi-user"></i></span>
                    <p:inputText placeholder="Username"/>
                </div>
            </div>
    
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon">$</span>
                    <p:inputText placeholder="Price"/>
                    <span class="ui-inputgroup-addon">.00</span>
                </div>
            </div>
    
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon">www</span>
                    <p:inputText placeholder="Website"/>
                </div>
            </div>
        </div>
    
        <h5>Multiple Addons</h5>
        <div class="p-grid ui-fluid">
            <div class="p-col-12">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon"><i class="pi pi-tags"/></span>
                    <span class="ui-inputgroup-addon"><i class="pi pi-shopping-cart"/></span>
                    <p:inputText placeholder="Price"/>
                    <span class="ui-inputgroup-addon">$</span>
                    <span class="ui-inputgroup-addon">.00</span>
                </div>
            </div>
        </div>
    
        <h5>Button Addons</h5>
        <div class="p-grid ui-fluid">
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <p:commandButton value="Search"/>
                    <p:inputText placeholder="Keyword"/>
                </div>
            </div>
    
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <p:inputText placeholder="Keyboard"/>
                    <p:commandButton icon="pi pi-search" styleClass="ui-button-warning"/>
                </div>
            </div>
    
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <p:commandButton icon="pi pi-check" styleClass="ui-button-success"/>
                    <p:inputText placeholder="Vote"/>
                    <p:commandButton icon="pi pi-times" styleClass="ui-button-danger"/>
                </div>
            </div>
        </div>
    
        <h5>Checkbox</h5>
        <div class="p-grid ui-fluid">
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon"><p:selectBooleanCheckbox/></span>
                    <p:inputText placeholder="Username"/>
                </div>
            </div>
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <p:inputText placeholder="Username"/>
                    <span class="ui-inputgroup-addon"><p:radioButton for="radioDemo" itemIndex="0"/></span>
                </div>
            </div>
            <div class="p-col-12 p-md-4">
                <div class="ui-inputgroup">
                    <span class="ui-inputgroup-addon"><p:selectBooleanCheckbox/></span>
                    <p:inputText placeholder="Username"/>
                    <span class="ui-inputgroup-addon"><p:radioButton for="radioDemo" itemIndex="0"/></span>
                </div>
            </div>
        </div>

        <p:selectOneRadio id="radioDemo" layout="custom" unselectable="true">
            <f:selectItem itemValue="demo"/>
        </p:selectOneRadio>
    </div>
</h:form>