Dropzone component

Figma Component
Dropzone component provides either a file drag & drop zone or a native File selection dialog.

Properties

NameDescriptionDefault
description
Dropzone explanatory description
-
disabled
Dropzone disabled state
-
dropTitle
Dropzone content when a file is moved over the drop zone
-
error
Error text displayed as an overlay
-
multiple

Allow drag 'n' drop (or selection from the file dialog) of multiple files Defaults to true

-
onDrop

required

File drop callback that returns an array of the traget File objects
-
title
Dropzone title
-
Note: This table does not include native DOM and React properties like `onClick`, `ref`, `id`, `aria-label` (and many others) supported by this component.

Disabled State

Single File