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

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

Toolbar

Toolbar is a grouping component for buttons and other content.


<div class="card">
    <h:form>
        <p:growl id="messages" showDetail="true"/>

        <p:toolbar>
            <f:facet name="left">
                <p:commandButton type="button" value="New" icon="pi pi-file" styleClass="p-mr-2" />
                <p:commandButton type="button" value="Open" icon="pi pi-folder-open" styleClass="ui-button-success" />

                <span class="ui-separator"></span>
                <i class="ui-icon pi pi-ellipsis-v"></i>

                <p:commandButton type="button" title="Save" icon="pi pi-save" styleClass="ui-button-help p-mr-2" />
                <p:commandButton type="button" title="Print" icon="pi pi-print" styleClass="ui-button-warning p-mr-2"/>
                <p:commandButton type="button" title="Delete" icon="pi pi-trash" styleClass="ui-button-danger"/>
            </f:facet>

            <f:facet name="right">
                <p:menuButton value="Options">
                    <p:menuitem value="Save" action="#{toolbarView.save}" update="messages" icon="pi pi-save"/>
                    <p:menuitem value="Update" action="#{toolbarView.update}" update="messages" icon="pi pi-refresh"/>
                    <p:menuitem value="Delete" action="#{toolbarView.delete}" ajax="false" icon="pi pi-times"/>
                    <p:menuitem value="Homepage" url="http://www.primefaces.org" icon="pi pi-home"/>
                </p:menuButton>
            </f:facet>

        </p:toolbar>
    </h:form>
</div>