Skip to content
S

svelte-file-dropzone

Svelte component for fileupload and file dropzone

by thecodejackFree

#823in UI Libraries
0In stores

Description

svelte-file-dropzone is a Svelte component for file uploads with a drag-and-drop area. The README says it is a Svelte implementation of reac…

Highlights

  • Svelte drag-and-drop file upload component
  • Accept, size and multiple-file props
  • Events for accepted and rejected drops
  • Storybook demo and examples

Ratings & Reviews

No ratings yet

Be the first to rate svelte-file-dropzone.

People also visit

R

react-dropzone

Simple HTML5 drag-drop zone with React.js

UI Libraries
Launch
S

svelte-image-uploader

Svelte image uploader with dnd, validation and previews

UI Libraries
Launch
F

@files-ui/react

UI components for file uploads with React js

UI Libraries
Launch
R

react-mui-dropzone

A Material-UI-v5 file-upload dropzone

UI Libraries
Launch
M

material-ui-dropzone

A Material-UI file-upload dropzone

UI Libraries
Launch
S

shadcn-dropzone

Ready to use File Upload Dropzone component,

UI Libraries
Launch

svelte-file-dropzone FAQ

What is svelte-file-dropzone?

A Svelte component for uploading files with a drag-and-drop zone. The README says it is a Svelte version of react-dropzone.

How do I restrict file types and sizes?

Use the accept prop for file types, and the maxSize and minSize props for sizes.

Can users select several files?

Yes. The multiple prop is true by default, so several files can be selected at once.

Which events does it send?

The README lists dragenter, dragover, dragleave, drop, filedropped, droprejected, dropaccepted and filedialogcancel.

What license is it under?

MIT, as the README states.

What are the best svelte-file-dropzone alternatives?

Popular alternatives to svelte-file-dropzone include react-dropzone, svelte-image-uploader and @files-ui/react. See all svelte-file-dropzone alternatives

Developer Stuff

Badges