Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices, with no jQuery or framework required

Library
npm
v1.15.7
31,184 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
52 /100 Fair
Development Activity 4
Maintenance 20
Community 84
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
75 /100 Good
Architecture 74
Code Quality 75
Innovation 68
Learning Curve 82

Sortable is a JavaScript library for building reorderable drag-and-drop lists, using the native HTML5 drag-and-drop API with a touch-device fallback. It requires no jQuery or framework, works with any element type (not just ul/li), and supports dragging items between separate lists via a shared group configuration, along with CSS-based animations, drag handles, auto-scrolling, and multi-item drag selection.

Beyond the core library, Sortable ships an official plugin system (AutoScroll, MultiDrag, Swap, OnSpill) that can be cherry-picked to keep bundle size small, and the broader SortableJS organization maintains framework-specific wrappers for React, Vue, Angular, Ember, Meteor, Knockout, and Polymer. With over 31,000 GitHub stars and tens of millions of weekly npm downloads, it is one of the most widely used drag-and-drop libraries in the JavaScript ecosystem.

What You Get

  • Native HTML5 drag-and-drop with a touch-device fallback, requiring no jQuery or UI framework
  • Cross-list dragging via a shared group option, with fine control over pull/put behavior and cloning
  • A cherry-pickable plugin system (AutoScroll, MultiDrag, Swap, OnSpill) to keep bundle size minimal
  • Rich lifecycle events (onStart, onEnd, onAdd, onUpdate, onSort, onMove, onClone) for fine-grained integration
  • Official framework wrappers maintained by the SortableJS org for React, Vue, Angular, Ember, Meteor, Knockout, and Polymer
  • TypeScript type definitions available via @types/sortablejs

Common Use Cases

  • Building drag-and-drop reorderable task boards or kanban columns (e.g. dragging cards between ‘To Do’ and ‘Done’ lists)
  • Letting users reorder items in a settings or admin list (e.g. reordering navigation menu items or form fields)
  • Implementing multi-select drag operations to move several list items at once via the MultiDrag plugin
  • Adding drag-and-drop reordering to a framework app (React, Vue, Angular) through one of the official wrapper packages

Under The Hood

Architecture - Sortable is centered on a single core module (src/Sortable.js, ~2,000 lines) that manages drag state, DOM manipulation, and event dispatch, supported by smaller focused modules for animation (Animation.js), cross-browser detection (BrowserInfo.js), event dispatching (EventDispatcher.js), and a PluginManager.js that lets optional plugins (AutoScroll, MultiDrag, Swap, OnSpill) register themselves into the core drag lifecycle without bloating the base bundle. Tech Stack - Vanilla JavaScript with no runtime dependencies, distributed as UMD/ESM/CJS builds (including modular core-only and complete-with-plugins bundles) via npm, Bower, and CDNs; built with Rollup and tested via CircleCI with SauceLabs cross-browser testing. Code Quality - The project maintains a dedicated tests/ suite and has been continuously refined since 2013 with 178 contributors; as a mature, widely-adopted library it has seen its core drag/drop edge cases (nested lists, touch delay, swap thresholds) heavily battle-tested in production across thousands of downstream apps, though recent commit activity has slowed as the API has stabilized. API Design - The API centers on a single Sortable.create(el, options) call with a large, well-documented options object and named lifecycle callbacks, making basic usage nearly zero-config while still exposing deep configurability (swap thresholds, direction detection, custom onMove logic) for complex drag-and-drop scenarios.

Used by 17 apps in this directory

Go
73%
GPL 3.0

1Panel

Devops · Hosting Control Panel · Monitoring

37,044

The only open-source VPS control panel with native AI agent runtime — deploy websites, Docker stacks, and local LLMs from one web interface.

View details
91
Repo Health
76
Technical
67
Dependency
Built with
Go 73%
Vue 27%
Updated 4 days ago
JavaScript
94%
MIT

Another Redis Desktop Manager

Databases · Developer Tools

34,787

Fast, stable Redis GUI with cluster, SSH, and massive key support

View details
81
Repo Health
56
Technical
67
Dependency
Built with
JavaScript 94%
Updated 1 months ago
PHP
78%
Other

Craft CMS

CMS

3,609

A developer-first PHP CMS with clean-slate content modeling, auto-generated GraphQL API, and a four-tier edition system that scales from solo projects to enterprise deployments.

View details
96
Repo Health
83
Technical
62
Dependency
Built with
PHP 78%
JavaScript 14%
Updated 5 days ago
TypeScript
50%
Other

Dify

AI Development · Design Tools · Developer Tools

157,364

Visual LLM workflow platform with RAG pipelines, agent capabilities, and model management for building production AI applications.

View details
92
Repo Health
85
Technical
66
Dependency
Built with
TypeScript 50%
Python 47%
Updated 4 days ago
Vue
52%
AGPL 3.0

Frappe CRM

CRM

3,613

Open-source CRM with unlimited users, built-in Twilio, Exotel, WhatsApp, and ERPNext integrations — self-host in minutes.

View details
92
Repo Health
68
Technical
77
Dependency
Built with
Vue 52%
Python 34%
JavaScript 11%
Updated 4 days ago
Go
83%
MIT

Gitea

Developer Tools · Devops · Project Management

58,194

Self-hosted DevOps in a single Go binary — Git hosting, GitHub Actions-compatible CI/CD, and 30+ package registries without any SaaS dependency.

View details
93
Repo Health
79
Technical
64
Dependency
Built with
Go 83%
Updated 4 days ago
Ruby
67%
Other

GitLab

Developer Tools · Devops

24,552

The complete DevOps platform that unifies Git hosting, CI/CD, issue tracking, and security scanning into a single self-hostable application.

View details
87
Repo Health
86
Technical
67
Dependency
Built with
Ruby 67%
JavaScript 20%
Updated 4 days ago
Python
69%
MIT

Langflow

AI Agents · AI Development

155,319

Build, test, and deploy AI agents and RAG workflows visually with native API and MCP server export.

View details
90
Repo Health
85
Technical
65
Dependency
Built with
Python 69%
TypeScript 22%
Updated 4 days ago
Scala
63%
AGPL 3.0

lila (Lichess)

Community

18,776

The forever-free, ad-free, open-source chess server powering millions of real-time games, AI analysis, puzzles, and tournaments worldwide.

View details
89
Repo Health
80
Technical
76
Dependency
Built with
Scala 63%
TypeScript 26%
Updated 4 days ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers