Works with any backend npm install Zero dependencies

Max File Count

Limit the number of files that can be uploaded with maxFiles: 3. Additional files are rejected.

Drag & drop files here (max 3 files)
<div id="myUploader" class="mu-uploader">...</div>
var uploader = new MultipleUpload(document.getElementById('myUploader'), {
 uploadUrl: '/api/upload',
 maxFiles: 3 // Maximum 3 files allowed
});

A ceiling on how many, not how big

maxCount is an alias for maxFiles, kept for compatibility with earlier configuration. Both cap the number of files in the queue; 0 means no limit, which is the default.

Why a count limit is worth having

Size limits do not stop someone selecting an entire folder. A count limit keeps the queue legible, keeps the request pattern predictable, and gives the user an error they can act on — “10 files maximum” is clearer than an upload that starts, occupies the connection for several minutes, and fails somewhere in the middle.