Skip to content
Large file upload, light
Light
Large file upload, dark
Dark

Every state

  • Large file upload, default, light
    Large file upload, default, dark

    default

  • Large file upload, focus, light
    Large file upload, focus, dark

    focus

  • Large file upload, uploading, light
    Large file upload, uploading, dark

    uploading

  • Large file upload, paused, light
    Large file upload, paused, dark

    paused

  • Large file upload, error, light
    Large file upload, error, dark

    error

  • Large file upload, done, light
    Large file upload, done, dark

    done

  • Large file upload, disabled, light
    Large file upload, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"large-file"Id of the file input; related ids are built from it.
namestring"large-file"Form field name of the file input.
labelstring"Source video"The visible label above the card.
chooseLabelstring"Choose file"Text on the choose button.
acceptstring"video/*,.zip,.tar,.gz,.7z"Accepted types, as the file picker takes them.
acceptLabelstring"Video or archive"The accepted types in words, for the hint and rejection messages.
maxSizenumber5368709120Largest file in bytes.
disabledboolean–Disables the choose button and every action.
defaultFileFileUploadLargeFile–The file at the start: name, size, status (uploading, paused, error, done), transferred, speed, error.
uploadFileUploadLargeUpload–Your chunked upload call (file, { onProgress(bytesSent), signal, offset }). Send from offset; stop when signal aborts. The default is a local simulation; a name containing "fail" fails once.
onFileChange(file: FileUploadLargeFile | null) => void–Called when a file is chosen, and when it is cancelled or removed.
classNamestring–Extra classes on the wrapper.

More file uploads

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