JavaScript drag-and-drop libraries

Have you ever wanted a drag and drop library that just works? Following libraries abstract native browser events into a comprehensive API to create a custom drag and drop experience, works with native drag, mouse, touch and force touch events.

They did an incredible job at providing a great set of drag and drop primitives which work especially well with the wildly inconsistent html5 drag and drop feature.

Editor's Picks

image

Sortable

Sortable is a JavaScript library for re-orderable drag-and-drop lists, can be used with modern browsers and touch devices, there are always available bindings for your favorite frameworks and libraries.
image

Dragula

Dragula is a drag and drop library that super easy to set up, no bloated dependencies, figures out sort order on its own, touch events, etc.
image

Draggable

Draggable is a modular drag & drop library, allowing you to start small and build up with the features you need. At its most basic, Draggable gives you drag & drop functionality, fast DOM reordering, accessible markup, and a bundle of events to grab on to.
image

Muuri

Muuri is a layout engine to create responsive, sortable, filterable and draggable layouts. It has built-in support for sorting the grid items by dragging and dropping, even between grids.