Skip to content
File list with progress, light
Light
File list with progress, dark
Dark

Every state

  • File list with progress, default, light
    File list with progress, default, dark

    default

  • File list with progress, focus, light
    File list with progress, focus, dark

    focus

  • File list with progress, uploading, light
    File list with progress, uploading, dark

    uploading

  • File list with progress, mixed, light
    File list with progress, mixed, dark

    mixed

  • File list with progress, all-done, light
    File list with progress, all-done, dark

    all-done

  • File list with progress, disabled, light
    File list with progress, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"documents"Id of the file input; related ids are built from it.
namestring"documents"Form field name of the file input.
labelstring"Documents"The visible heading above the list.
addLabelstring"Add files"Text on the add button.
acceptstring".pdf,.doc,.docx,image/png,image/jpeg"Accepted types, as the file picker takes them.
acceptLabelstring"PDF, Word, PNG or JPG"The accepted types in words, for the hint and rejection messages.
maxSizenumber26214400Largest file in bytes.
multiplebooleantrueAllow several files.
disabledboolean–Disables the add button and every action.
defaultFilesFileUploadProgressListFile[]–Files already in the list: id, name, size, status (uploading, done, error), progress, error.
uploadFileUploadProgressListUpload–Your upload call (file, { onProgress, signal }). The default is a local simulation; a name containing "fail" fails.
onFilesChange(files: FileUploadProgressListFile[]) => void–Called when files are added or removed.
classNamestring–Extra classes on the wrapper.

More file uploads

All 12
file-upload-08 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans