Skip to content

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
Step-by-step guide: how to use DragulaInstall, first run, examples, tips and FAQs

How to get it

  1. 1

    See the README

    Clone the repository

    git clone https://github.com/bevacqua/dragula
  2. 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. 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

ProjectStarsTypeLevelUpdatedBest for
dragula (this)22.1kLibrarybeginner2.4 years agoFront-end developers who want drag-and-drop without a large framework
react-sortable-hoc10.9kLibraryintermediate3.2 years agoExisting React projects that already use react-sortable-hoc and need security fixes only
Sortable31.2kLibrarybeginner8 months agoWeb developers adding reorderable lists to a site or app
Vue.Draggable20.5kLibraryintermediate2.7 years agoVue 2 developers adding drag-to-reorder lists to an app
filepond16.4kLibraryintermediate9 days agoWeb developers who need a polished upload widget in a site or app
interact.js12.9kLibraryintermediate3 months agoWeb 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.