SortableJS/Sortable

Drag-and-drop reorderable lists

JavaScriptโ˜… 31.2k๐ŸŽจ UI Kits & Design

What

Dependency-free library for reorderable lists and drag between lists, with touch support, animations and multi-drag.

How to use

bash
npm install sortablejs
javascript
import Sortable from 'sortablejs';
Sortable.create(document.getElementById('list'), { animation: 150 });

Reach for it when

you need sortable lists or kanban-style drag without a framework.