
Dragula
A small JavaScript library for drag and drop between lists and containers.
- Stars
- 22.1k
- Forks
- 1.9k
- Licence
- MIT
- Language
- JavaScript
- Last update
- 2.4 years ago
- Type
- Library
No commits in over a year — check for forks or alternatives before adopting.
What it is
Dragula is a JavaScript library that lets web developers add drag-and-drop behavior to page elements, such as moving items between lists. The project describes itself as simple, and it is listed under the front-end and vanilla JavaScript topics. The README provided here was truncated and empty, so details beyond the basic description are limited.
- Reordering items within a single list on a web page
- Moving cards between columns in a task board
- Dragging items between multiple containers on a page
Great for
- Front-end developers who want drag-and-drop without a large framework
- Developers building sortable lists or kanban-style boards in plain JavaScript
- Projects that want a small, dependency-light drag-and-drop option
Not ideal for
- Non-developers, since it requires writing JavaScript to use
- Projects that need drag-and-drop features the README does not describe, because the README provided was empty and features could not be verified
How to get it
- 1
See the README
Clone the repository
git clone https://github.com/bevacqua/dragula - 2
Run it
- Open the project homepage at https://bevacqua.github.io/dragula/ to see the official documentation and examples.
- Clone the repository or obtain the library from its documentation.
- Include the library in a web page and attach it to the elements you want to make draggable.
- 3
Get the most out of it
- Check the homepage for the official demos and API details, since the README here was unavailable.
- Review the MIT license terms before using it in a commercial project.
Downloads
Strengths
- Described by its author as simple to use
- Written in plain JavaScript, per its topics
- Released under the permissive MIT license
Trade-offs
- The README provided was empty, so documentation quality could not be verified here
- No published release is listed, so version stability is unclear
- Last code push was June 2024, so recent maintenance activity is uncertain
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| dragula (this) | 22.1k | Library | beginner | 2.4 years ago | Front-end developers who want drag-and-drop without a large framework |
| react-sortable-hoc | 10.9k | Library | intermediate | 3.2 years ago | Existing React projects that already use react-sortable-hoc and need security fixes only |
| Sortable | 31.2k | Library | beginner | 8 months ago | Web developers adding reorderable lists to a site or app |
| Vue.Draggable | 20.5k | Library | intermediate | 2.7 years ago | Vue 2 developers adding drag-to-reorder lists to an app |
| filepond | 16.4k | Library | intermediate | 9 days ago | Web developers who need a polished upload widget in a site or app |
| interact.js | 12.9k | Library | intermediate | 3 months ago | Web developers building drag-and-drop interfaces |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.