shopify/draggable

The JavaScript Drag & Drop library your grandparents warned you about.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 58 minutes ago
Added to GitGenius on September 3rd, 2026
Created on September 27th, 2017
Open Issues & Pull Requests: 171 (+0)
GitHub issues: Enabled
Number of forks: 1,116
Total Stargazers: 18,470 (+0)
Total Subscribers: 554 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 32.0 days
Mean response time: 209.4 days
90th percentile: 632.0 days
Tracked items: 20

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 21
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,354 days
Stale 30+ days: 21
Stale 90+ days: 21

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature-request (2)
  • enhancement (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Draggable is a JavaScript library that provides a comprehensive API for implementing custom drag and drop interactions.

The library abstracts native browser drag, mouse, touch, and force touch events into a unified interface, handling the heavy lifting of creating mirrors, emitting events, and managing sensor detection. Developers can extend dragging behavior by hooking into the event lifecycle and add custom drag detection through sensors. The core Draggable module provides the foundation, while additional modules—Sortable, Droppable, and Swappable—build on top of it to provide specialized functionality with a consistent API.

Draggable suits projects requiring fine-grained control over drag and drop interactions rather than out-of-the-box sorting behavior. It works across modern versions of Chrome, Firefox, Opera, Safari, and Edge, and is built with ES6 as a first-class target. The library is available via npm, yarn, or CDN.

The project is no longer maintained by its original authors at Shopify, with maintenance passed to new collaborators and additional maintainers actively being sought. Almost all open issues are raised by outside users rather than the core team, indicating a substantial base of adopters reporting real-world use. Issues and pull requests often wait weeks or longer for a first response. Work in the issue tracker is dominated by feature requests and enhancement requests.