Dropzone turns HTML elements into drop targets that preview files, show upload progress, and send uploads over XHR with broad configuration options.
Overview
Dropzone is a JavaScript library that adds drag-and-drop file uploads to any HTML element. Users can drop files onto a zone while the library renders previews, progress bars, and handles the upload request through XHR.
The package is written in TypeScript and ships built-in type definitions for ES module or CommonJS consumption, plus standalone script tags for projects without bundlers. Theming and behavior are customizable by overriding default event listeners rather than relying on a fixed skin.
Capabilities include image thumbnail previews, high-DPI display support, multi-file and synchronous uploads, chunked uploads for large files, optional S3 multipart integration, client-side image resizing before upload, and progress callbacks. Major version six drops Internet Explorer support; older releases remain for legacy browsers.
Dropzone is distributed as the npm dropzone package within a monorepo that also contains documentation and marketing sites.
Key features
- Drag-and-drop on any element
- Image thumbnail previews
- Upload progress reporting
- Chunked large file uploads
- Amazon S3 multipart support
- Client-side image resizing
- Fully themeable event hooks
- TypeScript types included
Use cases
- Adding uploads to web forms
- Media-heavy admin interfaces
- Chunked browser uploads
- S3 direct browser uploads
- Custom-styled file drop areas