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.

FileUpload Basic

Simple uploader uses native browser file upload. When 'auto' is set to to 'true', AJAX is used to automatically upload it.

Single
Choose
Multiple
Choose

<p:growl id="messages" showDetail="true"/>
<div class="card">
    <h5>Single</h5>
    <h:form>
        <p:fileUpload value="#{fileUploadView.file}" mode="simple" skinSimple="true" auto="true"
                      process="@this" update="messages"
                      listener="#{fileUploadView.handleFileUpload}"/>
    </h:form>
</div>
<div class="card">
    <h5>Multiple</h5>
    <h:form>
        <p:fileUpload value="#{fileUploadView.files}" mode="simple" skinSimple="true" multiple="true"
                      auto="true"
                      process="@this" update="messages"
                      listener="#{fileUploadView.handleFilesUpload}"/>
    </h:form>
</div>