Skip to content
Image grid upload, light
Light
Image grid upload, dark
Dark

Every state

  • Image grid upload, default, light
    Image grid upload, default, dark

    default

  • Image grid upload, focus, light
    Image grid upload, focus, dark

    focus

  • Image grid upload, filled, light
    Image grid upload, filled, dark

    filled

  • Image grid upload, uploading, light
    Image grid upload, uploading, dark

    uploading

  • Image grid upload, max-reached, light
    Image grid upload, max-reached, dark

    max-reached

  • Image grid upload, disabled, light
    Image grid upload, disabled, dark

    disabled

Props

PropTypeDefaultWhat it does
idstring"photos"Id of the file input; related ids are built from it.
namestring"photos"Form field name of the file input.
labelstring"Photos"The visible heading above the grid.
maxnumber6How many images the grid takes; the add tile goes away at the limit.
acceptstring"image/jpeg,image/png,image/webp"Accepted types, as the file picker takes them.
acceptLabelstring"JPG, PNG or WebP"The accepted types in words, for the hint and rejection messages.
maxSizenumber5242880Largest image in bytes.
disabledboolean–Disables the add tile, remove, move and drag.
defaultImagesFileUploadImageGridImage[]–Images already in the grid, in order: id, name, src, status, progress, error.
defaultRejectionsstring[]–Rejection messages shown at the start.
uploadFileUploadImageGridUpload–Your upload call (file, { onProgress, signal }). The default is a local simulation.
onImagesChange(images: FileUploadImageGridImage[]) => void–Called when images are added, removed or reordered.
classNamestring–Extra classes on the wrapper.

More file uploads

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