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


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


LightBox is a modal overlay component to display images, inline content and iframes.

Video Content

<style type="text/css">
    .imagebox a {
        margin-left: 10px;

<div class="card">
    <h5 style="margin-top: 0">Images</h5>
    <p:lightBox styleClass="imagebox" id="lighbox1">
        <h:outputLink value="../../resources/demo/images/nature/nature1.jpg" title="Nature 1">
            <p:graphicImage name="/demo/images/nature/nature1.jpg" id="nature1" styleClass="p-shadow-4"
                            style="height: 12.5rem; width: 20rem"/>

        <h:outputLink value="../../resources/demo/images/nature/nature2.jpg" title="Nature 2">
            <p:graphicImage name="/demo/images/nature/nature2.jpg" id="nature2" styleClass="p-shadow-4"
                            style="height: 12.5rem; width: 20rem"/>

        <h:outputLink value="../../resources/demo/images/nature/nature3.jpg" title="Nature 3">
            <p:graphicImage name="/demo/images/nature/nature3.jpg" id="nature3" styleClass="p-shadow-4"
                            style="height: 12.5rem; width: 20rem"/>

        <h:outputLink value="../../resources/demo/images/nature/nature4.jpg" title="Nature 4">
            <p:graphicImage name="/demo/images/nature/nature4.jpg" id="nature4" styleClass="p-shadow-4"
                            style="height: 12.5rem; width: 20rem"/>

<div class="card">
    <p:lightBox id="lighbox2">
        <p:link value="Video Content"/>

        <f:facet name="inline">
            <p:video value="https://www.w3schools.com/html/mov_bbb.mp4"
                Your browser does not support the video element.
                See: <h:outputLink value="https://www.w3schools.com/html/html5_video.asp">HTML5 Video</h:outputLink>

<div class="card">
    <p:lightBox iframe="true" id="lighbox3">
        <p:link value="PrimeFaces HomePage" target="http://www.primefaces.org" title="PrimeFaces HomePage"/>