Skip to content
Document checklist, light
Light
Document checklist, dark
Dark

Every state

  • Document checklist, default, light
    Document checklist, default, dark

    default

  • Document checklist, focus, light
    Document checklist, focus, dark

    focus

  • Document checklist, partial, light
    Document checklist, partial, dark

    partial

  • Document checklist, rejected, light
    Document checklist, rejected, dark

    rejected

  • Document checklist, complete, light
    Document checklist, complete, dark

    complete

  • Document checklist, disabled, light
    Document checklist, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"documents"Id prefix; each file input is `${id}-${document.id}`.
labelstring"Required documents"The visible heading above the list.
defaultDocumentsFileUploadChecklistDocument[]–The required documents and their starting state: id, title, hint, status, fileName, progress, reason.
acceptstring".pdf,image/png,image/jpeg"Accepted types, as the file picker takes them.
acceptLabelstring"PDF, JPG or PNG"The accepted types in words, for rejection messages.
maxSizenumber10485760Largest file in bytes.
disabledboolean–Disables every upload button.
uploadFileUploadChecklistUpload–Your upload call (file, { onProgress, signal }). The default is a local simulation; a name containing "fail" fails.
onDocumentsChange(documents: FileUploadChecklistDocument[]) => void–Called when any document's status changes.
classNamestring–Extra classes on the wrapper.

More file uploads

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