Skip to content
Folder upload, light
Light
Folder upload, dark
Dark

Every state

  • Folder upload, default, light
    Folder upload, default, dark

    default

  • Folder upload, focus, light
    Folder upload, focus, dark

    focus

  • Folder upload, tree, light
    Folder upload, tree, dark

    tree

  • Folder upload, uploading, light
    Folder upload, uploading, dark

    uploading

  • Folder upload, skipped, light
    Folder upload, skipped, dark

    skipped

  • Folder upload, done, light
    Folder upload, done, dark

    done

  • Folder upload, disabled, light
    Folder upload, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"folder"Id of the folder input; related ids are built from it.
namestring"folder"Form field name of the folder input.
labelstring"Project folder"The visible label above the pickers.
acceptstring"image/*,.pdf"Accepted types, as the file picker takes them. Files outside it are skipped.
acceptLabelstring"images and PDFs"The accepted types in words, for the hint and skip reasons.
maxSizenumber26214400Largest file in bytes. Larger files are skipped.
disabledboolean–Disables the pickers and every action.
defaultFilesFileUploadFolderFile[]–Files at the start: path (relative), size, status (ready, uploading, done, error, skipped), progress, reason.
defaultCollapsedstring[]–Folder paths that start collapsed. Folders are open down to the second level otherwise.
uploadFileUploadFolderUpload–Your upload call (file, { onProgress, signal }), run for four files at a time. The default is a local simulation; a name containing "fail" fails.
onFilesChange(files: FileUploadFolderFile[]) => void–Called when files are chosen or cleared.
classNamestring–Extra classes on the wrapper.

More file uploads

All 12
file-upload-09 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