DEV Community

Alex Gurr
Alex Gurr

Posted on • Updated on

React Drive - An all-in-one react wrapper around Google's drive file picker. Supports direct downloads & blob exports.

https://github.com/alexgurr/react-drive

https://developers.google.com/drive/api/v3/picker

I made this library to try and solve a bit more of the file picker flow, while providing a bit more simplicity with use. React drive can automatically pull down any selected files as blobs or download them directly to the user's machine (as well as passing the drive docs if needed).

Examples and docs in the readme. Feel free to add any issues/feature requests in the repo.

There's only one existing library that's similar to this and it doesn't really have any smarts around post-file selection. It also exposes a lot of props that really aren't needed in my opinion.

Discussion (0)