Behive Tech Registry

File Dropzone

v0.2.0

TODO: Add component description.

pnpm add @behivetech/molecules.file-dropzone

TODO: Add component description.

Usage

Compositions

Open all 2 →

Properties

FileDropzone props

PropTypeDefaultDescription
onFiles*(files: File[]) => void—Called with the chosen files, from either a drop or the click-to-browse fallback
acceptstring—Native `accept` attribute passed to the underlying file input, e.g. "image/*,application/pdf"
classNamestring—Additional class names to merge with the component root element
labelReactNodeDrag and drop files here, or click to browsePrompt content; defaults to a generic drag-and-drop message
multiplebooleantrueWhether more than one file can be selected at once; defaults to true