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. Simple uploader is disabled at online demo.

Single
Choose
Multiple
Choose

<p:growl id="messages" showDetail="true"/>

<div class="card">
    <h5>Single</h5>
    <h:form enctype="multipart/form-data">
        <p:fileUpload value="#{fileUploadView.file}" mode="simple" skinSimple="true"/>

        <p:commandButton value="Submit" ajax="false" action="#{fileUploadView.upload}" styleClass="p-mt-3 ui-button-outlined p-d-block"/>
    </h:form>
</div>

<div class="card">
    <h5>Multiple</h5>
    <h:form enctype="multipart/form-data">
        <p:fileUpload value="#{fileUploadView.files}" mode="simple" skinSimple="true" multiple="true"/>
        <p:commandButton value="Submit" ajax="false" action="#{fileUploadView.uploadMultiple}" styleClass="p-mt-3 ui-button-outlined p-d-block"/>
    </h:form>
</div>