material-ui-dropzone
@pandemicode/material-ui-dropzone a fork of Material-UI-Dropzone is a set of React components using Material-UI and is based on the excellent react-dropzone library.
These components provide:
- File Upload Dropzone
- File Upload Dropzone inside of a Dialog
Additionally, the File Upload Dropzone features some snazzy "File Allowed/Not Allowed" effects, previews and alerts.
Before proceeding with using this module, refer to the disclaimer section on the end of this README.
Installation
or
Support
@pandemicode/material-ui-dropzone
complies to the following support matrix.
version | React | Material-UI |
---|---|---|
3.x |
16.8+ |
4.x |
2.x |
15.x or 16.x |
3.x or 4.x |
Demo
Preview: Dialog Component with drag'n'drop effects for accepted and rejected files.
Disclaimer: Drag'n'drop handling has some known limitations, see here for more details.
Components
DropzoneArea
This components creates the dropzone, previews and snackbar notifications without a dialog
DropzoneDialog
This component provides the DropzoneArea inside of a MaterialUI Dialog.
License
MIT