Ship-It Designv0.0.3
GitHub

Dropzone

Each example below is a real component instance — flip the theme toggle to see how it adapts.

Default#

Loading…

With Files#

Loading…

Props#

Props for Dropzone
PropTypeDefaultDescription
onFiles((files: File[]) => void) | undefinedFired with the dropped or selected files.
acceptstring | undefinedLimit accepted MIME types or extensions. Forwarded to the hidden input + filtered on drop.
multipleboolean | undefinedtrueAllow multiple files. Default true.
titleReactNodeDrop files to ingestHeading text. Default "Drop files to ingest".
descriptionReactNodeSubtitle / hint text rendered below the title.
iconReactNodeGlyph at the top of the surface. Default `↥`.
disabledboolean | undefined