DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews.
It’s lightweight, doesn’t depend on any other library (like jQuery) and is highly customizable.
Theme has built in React wrapper which you can find in src/components/Dropzone
import Dropzone from "../components/Dropzone"
export default function page(props) {
return(
<Dropzone />
)
}