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.

ImageSwitch

ImageSwitch is an image gallery component with 25+ effects.

Manual
Fade
Zoom
TurnDown
Shuffle
Dialog Integration
Images

<div class="card">
    <h5 style="margin-top:0">Manual</h5>
    <p:commandButton type="button" onclick="PF('switcher').previous()"
                     icon="pi pi-chevron-left" id="prev" styleClass="p-mr-2 p-mb-3" />
    <p:commandButton type="button" onclick="PF('switcher').next()"
                     icon="pi pi-chevron-right" id="next" styleClass="p-mr-2 p-mb-3" />

    <p:imageSwitch effect="wipe" widgetVar="switcher" id="manuelSwitcher"
                   slideshowAuto="false">
        <ui:repeat value="#{imagesView.images}" var="image" id="manuelSwitcherImages">
            <p:graphicImage name="/demo/images/nature/#{image}" id="image"/>
        </ui:repeat>
    </p:imageSwitch>
</div>

<div class="card">
    <h5>Fade</h5>
    <p:imageSwitch effect="fade" id="fadeEffect">
        <ui:repeat value="#{imagesView.images}" var="image" id="fadeEffectImages">
            <p:graphicImage name="/demo/images/nature/#{image}" id="image2"/>
        </ui:repeat>
    </p:imageSwitch>
</div>

<div class="card">
    <h5>Zoom</h5>
    <p:imageSwitch effect="zoom">
        <ui:repeat value="#{imagesView.images}" var="image">
            <p:graphicImage name="/demo/images/nature/#{image}"/>
        </ui:repeat>
    </p:imageSwitch>
</div>

<div class="card">
    <h5>TurnDown</h5>
    <p:imageSwitch effect="turnDown">
        <ui:repeat value="#{imagesView.images}" var="image">
            <p:graphicImage name="/demo/images/nature/#{image}"/>
        </ui:repeat>
    </p:imageSwitch>
</div>

<div class="card">
    <h5>Shuffle</h5>
    <p:imageSwitch effect="shuffle">
        <ui:repeat value="#{imagesView.images}" var="image">
            <p:graphicImage name="/demo/images/nature/#{image}"/>
        </ui:repeat>
    </p:imageSwitch>
</div>

<div class="card">
    <h5>Dialog Integration</h5>
    <p:commandButton type="button" value="Show" onclick="PF('dlg').show()" icon="pi pi-home"/>

    <p:dialog header="Images" widgetVar="dlg" modal="true"
              draggable="false" resizable="false" showEffect="fade" hideEffect="fade">

        <p:imageSwitch effect="fade">
            <ui:repeat value="#{imagesView.images}" var="image">
                <p:graphicImage name="/demo/images/nature/#{image}"/>
            </ui:repeat>
        </p:imageSwitch>
    </p:dialog>
</div>