Basic

Add data-bs-toggle="dropzone" to a .dropzone with a file input inside. A new file replaces the old one.

Multiple files

Add multiple to the input to collect several files in the list.

Restrictions

Limit the files with accept, data-bs-max-size and data-bs-max-files. A file that breaks a rule is listed with the reason.

Disabled

Add disabled to the input. The area is dimmed and takes no clicks or drops.

File list states

Static .dropzone-item rows show an upload in progress (.dropzone-item-uploading), a finished one (.dropzone-item-success) and a failed one (.dropzone-item-error).

annual-report-2025.pdf
3.4 MB
team-photo.jpg
1.2 MB
product-demo.mp4
Upload failed