NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2685 most downloaded on npm
Simple HTML5 drag-drop zone with React.js
Latest stable
20.2.0
Last release 14 days ago
08 Nov 2026
Ships unpredictably
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
219 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
add file removal and selection clearing (9b91119), closes #1425
keep the hidden file input from widening its parent in Safari
Your coding agent can read these notes before it upgrades. Set up the MCP server →
abort in-flight processing when the dropzone unmounts
accept empty validator error arrays
docs: pin waku to beta.8 to fix white-screen (closes #1512)
# 20.1.0 (2026-08-09) ### Features * expose drag file rejections
feat!: drop Node 20, upgrade jsdom to v30
group MIME types in accept (closes #1189)
add paste-to-upload support (closes #1210)
ignore drops on the dropzone while the file dialog is open (closes #1455)
# 19.1.0 (2026-07-19) ### Features * support async validator
detect dragged files via items kind when types omit Files
hide file input in-flow to prevent scroll jump (fixes #1413)
fix!: accept files up to the limit instead of rejecting the batch (696d47c), closes #1355 #1358
add isDragUnknown state and skip validator during drag (closes #1408, closes #1244)
prevent browser opening files dropped on disabled/noDrag dropzone (fixes #1362)
fall back to native input when the file picker is blocked (closes #1429)
format file size errors as human-readable units
a11y: add aria-disabled to root when disabled (closes #1453, closes #1452)
enforce extensions paired with wildcard MIME types, closes #1220
feat!: upgrade file-selector to v4
path/relativePath, so a plain File is no longer assignable — type onDrop handlers as File[]. The full extension-to-MIME table is no longer bundled; pass COMMON_MIME_TYPES from file-selector/mime via getFilesFromEvent to restore it.refactor!: migrate source to TypeScript, drop prop-types & defaultProps
chore!: adopt oxc toolchain (tsdown/oxlint/oxfmt/vitest) + Vocs docs
fix!: reset isDragReject after drop
prevent tarball from being included in published package
accept files with empty type during drag events
event_type: :art: Update drop event type to include FileSystemFileHandle
make ESM build compatible with native Node.js
types: fix React 19 incompatible JSX type import
fix wrong file type msg ux and close #1221
set {isDragRejected} on drop and close #1238
visually hide the input and close #1268
update file-selector and close #1346
allow application/* mime types and close #1322
bump file-selector to v1.2 and close #1368
## 14.2.10 (2024-10-19) ### Bug Fixes * fix exports declaration
disable file access API by default
revert min node version to 10.13
ensure typings can be resolved and close #1371
ensure package works as a module
ensure proper readonly arrays for types
add path to acceptedFiles and fileRejections
allow {accept} file selection w/o using the OS options
call onError if FS access API fails in secure ctx
# 14.2.0 (2022-05-03) ### Features * bump file-selector to v0.6
## 14.1.2 (2022-05-03) ### Bug Fixes * add missing onError type
apply custom validator on {isDragAccept,isDragReject}
add option to auto focus the root and close #1145
use aria role presentation by default and close #1152
add support for React 18 and close #1121, #1167
add {onError} cb to allow users to handle errors
{accept} prop will now require an object instead of a string or array of strings:Before:
useDropzone({
accept: ".jpeg,.png"
// accept: [".jpeg", ".png"]
})
After:
useDropzone({
accept: {
"image/*": [".jpeg", ".png"]
}
})
deps: bump file-selector from 0.4.0 to 0.5.0
remove autocomplete for file input type
use KeyboardEvent.key to detect space/enter events
fix SSR when window is not defined
fallback to input click to open the file picker
do not use FS access API if code is not in secure context
## 12.0.1 (2022-02-07) ### Bug Fixes * add useFsAccessApi type
One column per quarter.