How To Make A Drag-and-Drop File Uploader With Vanilla JavaScript

January 15, 2018

It’s a known fact that file selection inputs are difficult to style the way developers want to, so many simply hide it and create a button that opens the file selection dialog instead. Nowadays, though, we have an even fancier way of handling file selection: drag and drop. Technically, this was already possible because most (if not all) implementations of the file selection input allowed you to drag files over it to select them, but this requires you to actually show the file element.

Previous Article
Free Online Event On Building And Maintaining Design Systems
Free Online Event On Building And Maintaining Design Systems

(This is a sponsored article.) Everybody's talking about design systems, but they are more than just a tren...

Next Article
Air Lookout Is The Side Project That Changed My Design Process Forever
Air Lookout Is The Side Project That Changed My Design Process Forever

In February of 2015, I began working on an iOS app called Air Lookout. The goal of the app was to simplify ...