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.

Skeleton

Skeleton is a placeholder to display instead of the actual content.

Rectangle
Rounded
Square
Circle
Card
List
DataTable
CodeNameCategoryQuantity

<style>
    .custom-skeleton {
        border: 1px solid var(--surface-d);
        border-radius: 4px;
    }
    .custom-skeleton>ul {
        list-style: none;
    }
</style>

<div class="card">
    <div class="grid formgrid">
        <div class="field col-12 md:col-6">
            <h5>Rectangle</h5>
            <p:skeleton class="mb-2"/>
            <p:skeleton width="10rem" class="mb-2"/>
            <p:skeleton width="5rem" class="mb-2"/>
            <p:skeleton height="2rem" class="mb-2"/>
            <p:skeleton width="10rem" height="4rem"/>
        </div>
        <div class="field col-12 md:col-6">
            <h5>Rounded</h5>
            <p:skeleton class="mb-2" borderRadius="16px"/>
            <p:skeleton width="10rem" class="mb-2" borderRadius="16px"/>
            <p:skeleton width="5rem" borderRadius="16px" class="mb-2"/>
            <p:skeleton height="2rem" class="mb-2" borderRadius="16px"/>
            <p:skeleton width="10rem" height="4rem" borderRadius="16px"/>
        </div>
        <div class="field col-12 md:col-6">
            <h5 class="mt-3">Square</h5>
            <div class="flex align-items-end">
                <p:skeleton size="2rem" class="mr-2"/>
                <p:skeleton size="3rem" class="mr-2"/>
                <p:skeleton size="4rem" class="mr-2"/>
                <p:skeleton size="5rem"/>
            </div>
        </div>
        <div class="field col-12 md:col-6">
            <h5 class="mt-3">Circle</h5>
            <div class="flex align-items-end">
                <p:skeleton shape="circle" size="2rem" class="mr-2"/>
                <p:skeleton shape="circle" size="3rem" class="mr-2"/>
                <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                <p:skeleton shape="circle" size="5rem"/>
            </div>
        </div>
    </div>
</div>

<div class="card">
    <div class="grid formgrid">
        <div class="field col-12 md:col-6 md:pr-6 pr-0">
            <h5>Card</h5>
            <div class="custom-skeleton p-4">
                <div class="flex mb-3">
                    <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                    <div>
                        <p:skeleton width="10rem" class="mb-2"/>
                        <p:skeleton width="5rem" class="mb-2"/>
                        <p:skeleton height=".5rem"/>
                    </div>
                </div>
                <p:skeleton width="100%" height="150px"/>
                <div class="flex justify-content-between mt-3">
                    <p:skeleton width="4rem" height="2rem"/>
                    <p:skeleton width="4rem" height="2rem"/>
                </div>
            </div>
        </div>

        <div class="field col-12 md:col-6">
            <h5>List</h5>
            <div class="custom-skeleton p-4">
                <ul class="m-0 p-0">
                    <li class="mb-3">
                        <div class="flex">
                            <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                            <div style="flex: 1">
                                <p:skeleton width="100%" class="mb-2"/>
                                <p:skeleton width="75%"/>
                            </div>
                        </div>
                    </li>
                    <li class="mb-3">
                        <div class="flex">
                            <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                            <div style="flex: 1">
                                <p:skeleton width="100%" class="mb-2"/>
                                <p:skeleton width="75%"/>
                            </div>
                        </div>
                    </li>
                    <li class="mb-3">
                        <div class="flex">
                            <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                            <div style="flex: 1">
                                <p:skeleton width="100%" class="mb-2"/>
                                <p:skeleton width="75%"/>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="flex">
                            <p:skeleton shape="circle" size="4rem" class="mr-2"/>
                            <div style="flex: 1">
                                <p:skeleton width="100%" class="mb-2"/>
                                <p:skeleton width="75%"/>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>

        <h5>DataTable</h5>
        <p:dataTable var="product" value="#{skeletonView.products}">
            <p:column headerText="Code">
                <p:skeleton/>
            </p:column>
            <p:column headerText="Name">
                <p:skeleton/>
            </p:column>
            <p:column headerText="Category">
                <p:skeleton/>
            </p:column>
            <p:column headerText="Quantity">
                <p:skeleton/>
            </p:column>
        </p:dataTable>
    </div>
</div>

<div class="card" style="min-height: 150px">
    <p:outputPanel deferred="true" deferredMode="visible">
        <p:ajax event="load" listener="#{outputPanelView.loadData}"/>
        <f:facet name="loading">
            <p:skeleton width="200px" height="21px" class="mb-4"/>
            <p:skeleton width="100%" height="42px"/>
        </f:facet>
        <h5>#{outputPanelView.data.title}</h5>
        <p>#{outputPanelView.data.body}</p>
    </p:outputPanel>
</div>