Locale

Language
English
English
English
French
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
Swedish
Thai
Turkish
Ukrainian
Vietnamese
Chinese
Chinese

Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

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

BlockUI

BlockUI blocks other components. It can be used with special ajax integration or manually with client side api.

Basic
New User
Custom Content
Customers
NameCountryCompanyStatus
Johnson SergiCanadaBuckley Miller Wright NEW
Sinclair WaycottItalyBenton, John B Jr RENEWAL
Sinclair WaycottUnited KingdomChemel, James L Cpa NEGOTIATION
Antonio CaudyRussiaFeltz Printing Service QUALIFIED
Ashley DoeGermanyTruhlar And Truhlar Attys NEW
Client Side API
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

<div class="card">
    <h:form>
        <h5 class="mt-0">Basic</h5>
        <p:panel id="pnl" header="New User">
            <h:panelGrid columns="3" cellpadding="7">
                <h:outputLabel for="firstname" value="Firstname: *"/>
                <p:inputText id="firstname" value="#{blockUIView.firstname}" required="true" label="Firstname">
                    <f:validateLength minimum="2"/>
                </p:inputText>
                <p:message for="firstname"/>

                <h:outputLabel for="lastname" value="Lastname: *"/>
                <p:inputText id="lastname" value="#{blockUIView.lastname}" required="true" label="Lastname"/>
                <p:message for="lastname"/>
            </h:panelGrid>

            <p:commandButton id="saveBtn" value="Save" icon="pi pi-check" action="#{blockUIView.save}"
                             update="growl" styleClass="mt-3"/>
        </p:panel>

        <p:blockUI block="pnl" trigger="saveBtn" widgetVar="buiBasic"/>

        <h5>Custom Content</h5>
        <p:dataTable id="dataTable" var="customer" value="#{blockUIView.customers}"
                     paginator="true" rows="5" paginatorPosition="bottom" filterEvent="enter">
            <f:facet name="header">
                Customers
            </f:facet>

            <p:column field="name" filterMatchMode="contains"/>

            <p:column>
                <f:facet name="header">
                    <h:outputText value="Country"/>
                </f:facet>
                <h:outputText value="#{customer.country.name}"/>
            </p:column>

            <p:column field="company"/>

            <p:column>
                <f:facet name="header">
                    <h:outputText value="Status"/>
                </f:facet>
                <span class="customer-badge status-#{customer.status.statusName}">#{customer.status}</span>
            </p:column>
        </p:dataTable>

        <p:blockUI block="dataTable" trigger="dataTable" widgetVar="buiDatatable">
            <i class="pi pi-spin pi-spinner" style="font-size: 3rem"></i>
        </p:blockUI>

        <h5>Client Side API</h5>
        <p:accordionPanel id="accordion" multiple="true">
            <p:tab title="Header I">
                <h:panelGrid columns="2" cellpadding="10">
                    <h:outputText
                            value="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."/>
                </h:panelGrid>
            </p:tab>
            <p:tab title="Header II">
                <h:panelGrid columns="2" cellpadding="10">
                    <h:outputText
                            value="Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi."/>
                </h:panelGrid>
            </p:tab>
            <p:tab title="Header III">
                <h:panelGrid columns="2" cellpadding="10">
                    <h:outputText
                            value="At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus."/>
                </h:panelGrid>
            </p:tab>
        </p:accordionPanel>

        <p:commandButton id="pnlBtn" value="Block Panel" type="button" onclick="PF('bui').show()"
                         styleClass="mt-5 mr-2"/>
        <p:commandButton id="pnlBtn2" value="Unblock Panel" type="button" onclick="PF('bui').hide()"
                         styleClass="mt-5 ui-button-outlined"/>

        <p:blockUI block="accordion" widgetVar="bui"/>

        <p:growl id="growl"/>
    </h:form>
</div>