File Dropzone
Svelte ComponentAllow upload of files with drag and drop.
Import
Package
Source
Docs
Examples
Monitor your browser's console when adding files.
Usage
Uses input[type='file']
to allow for all native input accessibility.
let files: FileList;
<FileDropzone bind:files />
Notes
Use the notes
property to provide addition text information on a second line.
<FileDropzone notes="Files should not exceed 5mb." />
Message
Use the default slot to replace the default UI entirely.
<FileDropzone>(message)</FileDropzone>