Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Serbian
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

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="grid ui-fluid">
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon"><i class="pi pi-user"></i></div>
                    <p:inputText placeholder="Username"/>
                </div>
            </div>
    
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon">$</div>
                    <p:inputText placeholder="Price"/>
                    <div class="ui-inputgroup-addon">.00</div>
                </div>
            </div>
    
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon">www</div>
                    <p:inputText placeholder="Website"/>
                </div>
            </div>
        </div>
    
        <h5>Multiple Addons</h5>
        <div class="grid ui-fluid">
            <div class="col-12">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon"><i class="pi pi-tags"/></div>
                    <div class="ui-inputgroup-addon"><i class="pi pi-shopping-cart"/></div>
                    <p:inputText placeholder="Price"/>
                    <div class="ui-inputgroup-addon">$</div>
                    <div class="ui-inputgroup-addon">.00</div>
                </div>
            </div>
        </div>
    
        <h5>Button Addons</h5>
        <div class="grid ui-fluid">
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <p:commandButton value="Search"/>
                    <p:inputText placeholder="Keyword"/>
                </div>
            </div>
    
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <p:inputText placeholder="Keyboard"/>
                    <p:commandButton icon="pi pi-search" styleClass="ui-button-warning"/>
                </div>
            </div>
    
            <div class="col-12 md:col-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="grid ui-fluid">
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon"><p:selectBooleanCheckbox/></div>
                    <p:inputText placeholder="Username"/>
                </div>
            </div>
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <p:inputText placeholder="Username"/>
                    <div class="ui-inputgroup-addon"><p:radioButton for="radioDemo" itemIndex="0"/></div>
                </div>
            </div>
            <div class="col-12 md:col-4">
                <div class="ui-inputgroup">
                    <div class="ui-inputgroup-addon"><p:selectBooleanCheckbox/></div>
                    <p:inputText placeholder="Username"/>
                    <div class="ui-inputgroup-addon"><p:radioButton for="radioDemo" itemIndex="0"/></div>
                </div>
            </div>
        </div>

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