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

Tooltip Tooltip Options

Tooltip has various customization options such as effects, positioning, events and custom content support.

Positions
Custom Position
Focus and Blur
Track Mouse
Auto Hide
Animation
Content

<div class="card">
    <h5>Positions</h5>
    <div class="grid ui-fluid">
        <div class="col-12 md:col-3">
            <p:inputText id="right" type="text" placeholder="Right" />
            <p:tooltip for="right" value="Enter your username" position="right"/>
        </div>
        <div class="col-12 md:col-3">
            <p:inputText id="top" type="text" placeholder="Top" />
            <p:tooltip for="top" value="Enter your username" position="top"/>
        </div>
        <div class="col-12 md:col-3">
            <p:inputText id="bottom" type="text" placeholder="Bottom" />
            <p:tooltip for="bottom" value="Enter your username" position="bottom"/>
        </div>
        <div class="col-12 md:col-3">
            <p:inputText id="left" type="text" placeholder="Left" />
            <p:tooltip for="left" value="Enter your username" position="left"/>
        </div>
    </div>

    <h5>Custom Position</h5>
    <p:inputText id="custom" type="text" placeholder="Custom" />
    <p:tooltip for="custom" value="Enter your username" my="right center" at="left center"/>

    <h5>Focus and Blur</h5>
    <p:inputText id="focus" title="Enter your username"/>
    <p:tooltip for="focus" showEvent="focus" hideEvent="blur"/>

    <h5>Track Mouse</h5>
    <p:graphicImage id="track" name="/images/primefaces-logo.svg" library="showcase"/>
    <p:tooltip for="track" value="Enter your username" trackMouse="true"/>

    <h5>Auto Hide</h5>
    <p:commandButton type="button" id="autoHideTrue" value="Auto Hide (true)" class="mr-2" />
    <p:tooltip for="autoHideTrue" autoHide="true">
        <p:graphicImage name="/images/primefaces-logo.svg" library="showcase"/>
    </p:tooltip>
    <p:commandButton type="button" id="autoHideFalse" value="Auto Hide (false)" />
    <p:tooltip for="autoHideFalse" autoHide="false">
        <p:graphicImage name="/images/primefaces-logo.svg" library="showcase"/>
    </p:tooltip>

    <h5>Animation</h5>
    <p:commandButton type="button" id="animate" icon="pi pi-cog"/>
    <p:tooltip for="animate" value="Customization options" showEffect="clip" hideEffect="fold" />
    
    <h5>Content</h5>
    <p:commandButton type="button" id="content" icon="pi pi-external-link"/>
    <p:tooltip for="content">
        <p:graphicImage name="/images/primefaces-logo.svg" library="showcase"/>
    </p:tooltip>
</div>