# desandro/draggabilly

:point_down: Make that shiz draggable

Repository: https://github.com/desandro/draggabilly
Canonical: https://ross.abutalabs.com/products/draggabilly
Homepage: https://draggabilly.desandro.com
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-03-31T13:17:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4968, "days_push": 1616, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3864, forks 376 (observed 2026-08-28T04:08:27.628839+00:00)

## What it is
Draggabilly is a small JavaScript library that makes DOM elements draggable with mouse and touch support. It offers options for axis constraints, containment, grid snapping, and drag handles, and works with vanilla JS or jQuery.

## Use cases
- make html elements draggable
- add drag interaction to divs with touch support
- constrain dragging to an axis or container
- snap draggable elements to a grid
- build draggable ui widgets in the browser

## When to choose
- you need lightweight, dependency-free drag behavior for DOM elements
- you need unified mouse and touch/pointer drag support
- you want simple options like axis locking, containment, and grid snapping

## When to avoid
- you need full drag-and-drop with drop targets and sortable lists
- you need drag interactions inside canvas or WebGL
- you need a framework-native drag solution for React or Vue

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: frontend, web-development
- platform: browser
- tags: drag-and-drop, touch-support, vanilla-js, jquery-plugin, javascript

## Member repositories
- desandro/draggabilly (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.628839+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-29T18:25:52.261587+00:00, confidence not recorded.
  - readme: https://github.com/desandro/draggabilly (fetched 2026-08-28T04:08:27.628839+00:00, sha b4d4cdeee553)
  - homepage: https://draggabilly.desandro.com (fetched 2026-08-29T09:20:36.149570+00:00, sha 70840ce95fb3)
  - registry_npm: https://registry.npmjs.org/draggabilly (fetched 2026-08-29T09:20:36.158735+00:00, sha fb6f61748ed5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
