Description
Sortable is a JavaScript library for lists that can be reordered by drag and drop, both within a list and between lists. It works on modern browsers and touch devices, and the README says it needs no jQuery or framework. Its features include drag handles and selectable text, smooth animation when items move, smart auto-scrolling, advanced swap detection, multi-drag, and support for CSS transforms. It is built on the native HTML5 drag and drop API. The README lists compatibility with frameworks including Angular, React, Vue, Ember, Knockout, Polymer and Meteor, and with any CSS library such as Bootstrap. A live demo is linked from the README, and articles and getting-started guides are listed alongside the project. It is useful for kanban boards, sortable menus, playlists and any interface where people rearrange items on screen.…
Highlights
- Drag-and-drop reordering within and between lists
- Touch device and modern browser support
- Multi-drag, drag handles and smooth animation
- Works with React, Vue, Angular and no framework at all
Ratings & Reviews
No ratings yet
Be the first to rate sortablejs.
People also visit

react-sortable-hoc
Set of higher-order components to turn any list into a sortable, touch-friendly
vue-slicksort
Set of mixins to turn any list into a sortable, touch-friendly, animated list

react-sortable-tree
Drag-and-drop sortable component for nested data and hierarchies
sortablejs FAQ
What does Sortable do?
It makes lists reorderable by drag and drop, including moving items from one list to another.
Does it need jQuery or a framework?
No. The README says it needs neither, and it also works with frameworks such as React and Vue.
Does it work on phones?
Yes. The README says it supports touch devices.
Can I select text inside items?
Yes. The README says it supports drag handles and selectable text.
Where is the demo?
The README links a live demo on the project's GitHub Pages site.
Where is the source?
On GitHub under SortableJS/Sortable.
What are the best sortablejs alternatives?
Popular alternatives to sortablejs include react-sortable-hoc, react-drag-listview and vue-slicksort. See all sortablejs alternatives



















