# bevacqua/dragula

:ok_hand: Drag and drop so simple it hurts

Repository: https://github.com/bevacqua/dragula
Canonical: https://ross.abutalabs.com/products/dragula
Homepage: https://bevacqua.github.io/dragula/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, front-end, drag-and-drop, vanilla, drag-drop, dragging, component
Last push: 2024-06-07T11:46:14+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4160, "days_push": 817, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 22135, forks 1924 (observed 2026-08-28T04:11:32.393825+00:00)

## What it is
Dragula is a lightweight vanilla JavaScript drag-and-drop library that lets users reorder and move elements between containers with minimal setup. It provides a simple API with rich lifecycle events for drag, drop, cancel, and reorder interactions.

## Use cases
- add drag and drop to reorder list items
- move elements between two containers
- sortable kanban-style lists
- drag-and-drop without jQuery or framework dependencies
- reorder DOM elements with vanilla JavaScript
- handle drag events like drop, cancel, and remove

## When to choose
- you want simple, dependency-free drag-and-drop in plain JavaScript
- you need to move or reorder elements between containers
- you want a tiny library with a straightforward event API

## When to avoid
- you need touch-free accessibility or advanced drag features like multi-select
- you're using a framework with its own drag-and-drop ecosystem (e.g., React DnD)
- you need file drag-and-drop uploads rather than element reordering

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: frontend, web-development
- platform: browser
- tags: drag-and-drop, vanilla-js, zero-dependency, dom-manipulation, javascript

## Member repositories
- bevacqua/dragula (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.393825+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:42.750149+00:00, confidence not recorded.
  - homepage: https://bevacqua.github.io/dragula/ (fetched 2026-08-29T07:56:09.377972+00:00, sha 57fbae30f363)
  - registry_npm: https://registry.npmjs.org/dragula (fetched 2026-08-29T07:56:09.387878+00:00, sha 500b17fcaf8e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
