SharePoint Online Simple drag and drop files upload zone in SPFx May 27, 2020October 12, 2025 Ravichandran Krishnasamy7 Comments π This article has moved! Please visit the updated version here: π Go to Updated Article Sharing is caring! If you have any questions, feel free to let me know in the comments section. Happy coding!!! Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Click to share on LinkedIn (Opens in new window) LinkedIn Click to share on WhatsApp (Opens in new window) WhatsApp Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Like Loading... Related
Download and run this project so you can get some idea https://github.com/ravichandran-blog/SPFx/tree/master/spfx-react-dropzone if you face any error then let me know the error message. LikeLike Reply
I tried with your solution too but it is not allowing to drop files browse option works fine for me you can view snapshot at https://ibb.co/0nWSzbY LikeLike
You can use DocumentCard control for show your documents https://developer.microsoft.com/en-us/fluentui#/controls/web/documentcard LikeLike Reply
Hi Ravi, great article. Please could you let me know how can we use it for EditForm. Thank you LikeLike
Hi Vishal, I haven’t done that, but you may try reproducing the files object and assigning it. I’m hoping this works. <FilePond files={this.state.files} LikeLike
Hi I am using Filepond for spfx but it does not allow to drop files
LikeLike
Download and run this project so you can get some idea
https://github.com/ravichandran-blog/SPFx/tree/master/spfx-react-dropzone
if you face any error then let me know the error message.
LikeLike
I tried with your solution too but it is not allowing to drop files browse option works fine for me
you can view snapshot at https://ibb.co/0nWSzbY
LikeLike
How to show files from Library into FIlePond?
LikeLike
You can use DocumentCard control for show your documents
https://developer.microsoft.com/en-us/fluentui#/controls/web/documentcard
LikeLike
Hi Ravi, great article. Please could you let me know how can we use it for EditForm. Thank you
LikeLike
Hi Vishal,
I haven’t done that, but you may try reproducing the files object and assigning it. I’m hoping this works.
<FilePond files={this.state.files}
LikeLike