Gathering detailed insights and metrics for react-dropzone-uploader
Gathering detailed insights and metrics for react-dropzone-uploader
Gathering detailed insights and metrics for react-dropzone-uploader
Gathering detailed insights and metrics for react-dropzone-uploader
react-dropzone-s3-uploader
Drag and drop s3 file uploader via react-dropzone + react-s3-uploader
react-uploader
React File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐
@vizualabstract/react-dropzone-uploader
React file dropzone and uploader: fully customizable, progress indicators, upload cancellation and restart, zero deps and excellent TypeScript support
@cfculhane/react-dropzone-uploader
React file dropzone and uploader: fully customizable, progress indicators, upload cancellation and restart, zero deps and excellent TypeScript support
npm install react-dropzone-uploader
Typescript
Module System
Node Version
NPM Version
90.4
Supply Chain
94.6
Quality
75.5
Maintenance
100
Vulnerability
100
License
TypeScript (64.34%)
JavaScript (25.56%)
CSS (4.74%)
HTML (2.67%)
Python (2.54%)
Shell (0.15%)
Total Downloads
6,746,061
Last Day
4,967
Last Week
21,510
Last Month
91,311
Last Year
1,651,355
449 Stars
196 Commits
186 Forks
12 Watching
42 Branches
5 Contributors
Minified
Minified + Gzipped
Latest Version
2.11.0
Package Id
react-dropzone-uploader@2.11.0
Size
38.99 kB
NPM Version
6.11.2
Node Version
10.16.0
Publised On
13 Nov 2019
Cumulative downloads
Total Downloads
Last day
1.7%
4,967
Compared to previous day
Last week
-9.1%
21,510
Compared to previous week
Last month
0.5%
91,311
Compared to previous month
Last year
-14.1%
1,651,355
Compared to previous year
1
3
33
React Dropzone Uploader is a customizable file dropzone and uploader for React.
https://react-dropzone-uploader.js.org
npm install --save react-dropzone-uploader
Import default styles in your app.
1import 'react-dropzone-uploader/dist/styles.css'
RDU handles common use cases with almost no config. The following code gives you a dropzone and clickable file input that accepts image, audio and video files. It uploads files to https://httpbin.org/post
, and renders a button to submit files that are done uploading. Check out a live demo.
1import 'react-dropzone-uploader/dist/styles.css' 2import Dropzone from 'react-dropzone-uploader' 3 4const MyUploader = () => { 5 // specify upload params and url for your files 6 const getUploadParams = ({ meta }) => { return { url: 'https://httpbin.org/post' } } 7 8 // called every time a file's `status` changes 9 const handleChangeStatus = ({ meta, file }, status) => { console.log(status, meta, file) } 10 11 // receives array of files that are done uploading when submit button is clicked 12 const handleSubmit = (files) => { console.log(files.map(f => f.meta)) } 13 14 return ( 15 <Dropzone 16 getUploadParams={getUploadParams} 17 onChangeStatus={handleChangeStatus} 18 onSubmit={handleSubmit} 19 accept="image/*,audio/*,video/*" 20 /> 21 ) 22}
See more live examples here: https://react-dropzone-uploader.js.org/docs/examples.
Check out the full table of RDU's props.
Chrome | Firefox | Edge | Safari | IE | iOS Safari | Chrome for Android |
---|---|---|---|---|---|---|
✔ | ✔ | ✔ | 10+, 9* | 11* | ✔ | ✔ |
* requires Promise
polyfill, e.g. @babel/polyfill
This library is available as an ES Module at https://unpkg.com/react-dropzone-uploader@VERSION/dist/react-dropzone-uploader.umd.js.
If you want to include it in your page, you need to include the dependencies and CSS as well.
1<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.4.2/umd/react.production.min.js"></script> 2<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.4.2/umd/react-dom.production.min.js"></script> 3<script src="https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.6.2/prop-types.min.js"></script> 4 5<script src="https://unpkg.com/react-dropzone-uploader@VERSION/dist/react-dropzone-uploader.umd.js"></script> 6<link rel"stylesheet" href="https://unpkg.com/react-dropzone-uploader@VERSION/dist/styles.css"></script>
There are a number of places RDU could be improved; see here.
For example, RDU has solid core functionality, but has a minimalist look and feel. It would be more beginner-friendly with a larger variety of built-in components.
Thanks to @nchen63 for helping with TypeScript defs!
Clone the project, install dependencies, and run the dev server.
1git clone git://github.com/fortana-co/react-dropzone-uploader.git 2cd react-dropzone-uploader 3yarn 4npm run dev
This runs code in examples/src/index.js
, which has many examples that use Dropzone
. The library source code is in the /src
directory.
Thanks to react-dropzone
, react-select
, and redux-form
for inspiration.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
148 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More