Locale

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

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.

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.

Sticky

Sticky component positions the target component as fixed so that the component stays in window viewport during scrolling. Scroll down to see the sticky toolbar.


<style type="text/css">
    .ui-sticky {
        top: 70px !important;
    }

    @media (max-width: 960px) {
        .ui-sticky {
            top: 110px !important;
        }
    }
</style>

<div class="card">
    <p:toolbar id="tb">
        <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" />
        </f:facet>
        <f:facet name="right">
            <p:commandButton type="button" title="Save" icon="pi pi-save" styleClass="warn-button p-mr-2" />
            <p:commandButton type="button" title="Delete" icon="pi pi-trash" styleClass="ui-button-danger p-mr-2" />
            <p:commandButton type="button" title="Print" icon="pi pi-print" styleClass="ui-button-help" />
        </f:facet>
    </p:toolbar>

    <div style="height:800px"></div>

    <p:sticky target="tb"/>
</div>