Locale

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.

ImageCropper

ImageCropper is used to extract a certain part of an image to create a new image.


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

        <h:panelGrid columns="2" cellpadding="7">
            <p:imageCropper value="#{cropperView.croppedImage}"
                            image="/resources/demo/images/nature/nature6.jpg"
                            initialCoords="225,75,300,125"
                            minSize="100,100"
                            maxSize="250,250"
                            zoomOnWheel="false"/>
            <h:panelGroup id="cropped">
                <p:graphicImage rendered="#{not empty cropperView.newImageName}"
                                name="demo/images/crop/#{cropperView.newImageName}.jpg"/>
            </h:panelGroup>
        </h:panelGrid>

        <p:commandButton value="Crop" action="#{cropperView.crop}" update="cropped msgs" styleClass="p-mt-3" />
    </h:form>
</div>