# Drag and drop libraries

Let people drag items to sort them or to move them between lists. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [dnd kit](https://elestia.ai/opensource/drag-and-drop/dnd-kit/index.md) | 8.0 | 4.7 | 7.8 | 7.1 | 7.6 | 6.9 | 7.3 | React teams that want accessible, customisable sortable lists, grids and kanban boards. |
| 2 | [Pragmatic drag and drop](https://elestia.ai/opensource/drag-and-drop/pragmatic-dnd/index.md) | 7.5 | 5.0 | 7.6 | 7.4 | 5.3 | 6.9 | 8.0 | Teams on any framework that need fast drag and drop over large lists or boards, or drops of files and outside content, and that will build their own visuals. |
| 3 | [SortableJS](https://elestia.ai/opensource/drag-and-drop/sortablejs/index.md) | 6.4 | 5.2 | 6.9 | 4.3 | 6.4 | 6.9 | 6.6 | Projects that need simple sortable lists in vanilla JS, htmx, Vue or server-rendered pages without a React-specific toolkit. |
| 4 | [hello-pangea/dnd](https://elestia.ai/opensource/drag-and-drop/hello-pangea-dnd/index.md) | 5.8 | 4.1 | 7.0 | 3.9 | 5.8 | 5.4 | 7.0 | React teams building list or kanban UIs who want accessible, natural-feeling drag and drop with little setup, or who are moving off react-beautiful-dnd. |
| 5 | [interact.js](https://elestia.ai/opensource/drag-and-drop/interactjs/index.md) | 4.9 | 4.4 | 5.1 | 4.0 | 4.2 | 4.8 | 5.9 | Vanilla-JS or any-framework apps that need free-form dragging, resizing and snapping, such as editors, dashboards and grid layouts, rather than list sorting. |
| 6 | [Swapy](https://elestia.ai/opensource/drag-and-drop/swapy/index.md) | 3.9 | 3.5 | 5.2 | 2.6 | 3.4 | 2.8 | 5.5 | GPL-compatible open-source projects, or buyers of the commercial licence, who need a quick animated drag-to-swap dashboard or card grid. |
| 7 | [React DnD](https://elestia.ai/opensource/drag-and-drop/react-dnd/index.md) | 3.7 | 4.4 | 5.7 | 2.0 | 5.9 | 5.0 | 5.2 | Teams that already run React DnD, or that depend on a library built on it, and want to keep it working rather than migrate. |
| 8 | [Dragula](https://elestia.ai/opensource/drag-and-drop/dragula/index.md) | 3.5 | 5.2 | 4.9 | 2.1 | 3.9 | 3.8 | 5.7 | Teams that already run Dragula, or an ng2-dragula wrapper, in an existing app and only need simple list-to-list moves. |
| 9 | [react-beautiful-dnd](https://elestia.ai/opensource/drag-and-drop/react-beautiful-dnd/index.md) | 1.6 | 4.6 | 4.4 | 0.6 | 4.3 | 3.4 | 4.2 | Only teams that keep a legacy React 16/17 app running while they plan a move to @hello-pangea/dnd, dnd kit or Pragmatic drag and drop. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| dnd kit | 170M | ×7.6 | 18k | 516 | Dec 2024 | 0 |
| Pragmatic drag and drop | 11M | ×7.6 | 13k | 160 | Sept 2026 | 0 |
| SortableJS | 23M | ×2.5 | 31k | 2 | Feb 2026 | 0 |
| hello-pangea/dnd | 22M | ×5.4 | 4.1k | 1 | Feb 2025 | 0 |
| interact.js | 4.3M | ×2.9 | 13k | 12 | Aug 2026 | 0 |
| Swapy | 149k | ×2.3 | 8.5k | 0 | Jan 2025 | 0 |
| React DnD | 27M | ×2.5 | 22k | 0 | Apr 2022 | 0 |
| Dragula | 1.7M | +63% | 22k | 0 | Sept 2020 | 0 |
| react-beautiful-dnd | 10M | +34% | 34k | 0 | Aug 2022 | 0 |

All categories: https://elestia.ai/opensource/index.md
