Locale

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

Language
English
French
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Czech
Greek
Persian
Hindi
Indonesian
Croatian
Japanese
Hungarian
Hebrew
Georgian
Lithuanian
Latvian
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Swedish
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

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.

Resizable

Resizable adds resize handlers to the target component.

Basic
Resizable Panel
Aspect Ratio
Resize with aspect ratio
Ghost
A ghost is displayed during resize
Animated
Animation enabled while resizing
Boundaries
Min and Max boundaries
Grid
Resize offset set to 20 pixels.
Handles
Can be resized to any direction.
Containment
Restricted to parent element boundaries.
Ajax Callback

<div class="card">
    <p:panel id="basic" header="Basic" styleClass="mb-2">
        Resizable Panel
    </p:panel>
    <p:resizable for="basic"/>

    <p:panel id="aspectRatio" header="Aspect Ratio" styleClass="mb-2">
        Resize with aspect ratio
    </p:panel>
    <p:resizable for="aspectRatio" aspectRatio="true"/>

    <p:panel id="ghost" header="Ghost" styleClass="mb-2">
        A ghost is displayed during resize
    </p:panel>
    <p:resizable for="ghost" ghost="true"/>

    <p:panel id="animation" header="Animated" styleClass="mb-2">
        Animation enabled while resizing
    </p:panel>
    <p:resizable for="animation" animate="true" effect="swing" effectDuration="normal"/>

    <p:panel id="boundaries" header="Boundaries" style="width:300px;height:150px;" styleClass="mb-2">
        Min and Max boundaries
    </p:panel>
    <p:resizable for="boundaries" minWidth="200" maxWidth="400" minHeight="100" maxHeight="200"/>

    <p:panel id="grid" header="Grid" styleClass="mb-2">
        Resize offset set to 20 pixels.
    </p:panel>
    <p:resizable for="grid" grid="20"/>

    <p:panel id="handles" header="Handles" styleClass="mb-2">
        Can be resized to any direction.
    </p:panel>
    <p:resizable for="handles" handles="e,w,n,se,sw,ne,nw"/>

    <p:outputPanel id="containmentPanel" layout="block"
                   style="width:400px;height:200px;border:2px solid var(--surface-d);">
        <p:panel id="containment" header="Containment">
            Restricted to parent element boundaries.
        </p:panel>
        <p:resizable for="containment" containment="true"/>
    </p:outputPanel>

    <h5>Ajax Callback</h5>
    <h:form>
        <p:growl id="growl" showDetail="true"/>

        <p:graphicImage id="nature" name="demo/images/nature/nature5.jpg" styleClass="shadow-1" />

        <p:resizable for="nature" animate="true" ghost="true">
            <p:ajax listener="#{resizableView.onResize}" update="growl"/>
        </p:resizable>
    </h:form>
</div>