SortableJS
Reasonable, with limits. 3rd of 9 drag and drop libraries.
SortableJS is a mature, framework-free library with no dependencies for reorderable lists and dragging items between lists, with touch support. It is still the easiest pick for plain JavaScript, htmx, Vue or server-rendered pages. Development has slowed to occasional bug-fix releases, and for React apps dnd-kit or Pragmatic drag and drop are the better fit.
Best for: Projects that need simple sortable lists in vanilla JS, htmx, Vue or server-rendered pages without a React-specific toolkit.
Scores
Overall6.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
For vanilla JS, htmx or Vue projects that need simple sortable lists, it is still the most practical choice, and it is safe and light. Very slow maintenance, weak accessibility and a poor fit with React keep it below dnd-kit and Pragmatic drag and drop for most new apps. It ranks above unmaintained peers such as Dragula, React DnD and react-beautiful-dnd.
- github commitsLastYear: Near-dormant development
- peers Pragmatic drag and drop: Framework-free peer with 160 commits last year and growing fast
- pistack.xyz/posts/2026-08-14-react-drag-and-drop-libraries-dnd-kit-react-dnd-sortablejs-guide: Recommends dnd-kit for new React apps and SortableJS for simple or multi-framework lists
- elixirforum.com/t/whats-a-great-modern-drag-and-drop-javascript-library-you-recommend/60806: Community consensus pick for vanilla JS
GPT-6.2 Sol: 6.8, likely 5.6 to 7.9
SortableJS is a practical choice for simple browser lists and boards where the team can supply accessible controls. For new React projects that need keyboard sorting out of the box, dnd kit is a stronger fit, and Pragmatic drag and drop has a more active maintenance record for teams that want a framework-independent toolkit. Slow upstream fixes make the recommendation depend on how much integration work the team can own.
- htmx.org/examples/sortable: A short example wires browser list reordering to server persistence.
- docs.tabler.io/ui/plugins/sortable?theme=auto: Tabler documents the keyboard controls applications need to supply.
- github.com/dnd-kit/docs/blob/master/guides/accessibility.md: Stable dnd kit includes a keyboard sensor and sortable keyboard coordinates.
- github commitsLastYear, latestRelease; peers Pragmatic drag and drop: Pragmatic had 160 commits and a September 2026 release versus two commits and a February release.
Needed by many5.2
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Sortable lists and moving items between lists turn up in many web apps, such as admin panels, kanban boards and settings screens. SortableJS works with no framework, so it serves more stacks than the React-only peers. Still, most projects do not need drag and drop.
- github description: Works without jQuery or a framework and supports touch devices
- pistack.xyz/posts/2026-08-14-react-drag-and-drop-libraries-dnd-kit-react-dnd-sortablejs-guide: Has wrappers for Vue, React, Angular and jQuery
GPT-6.2 Sol: 4.3, likely 3.2 to 5.5
SortableJS works across browser frameworks and fits boards, form builders, and editable tables. Only a subset of web projects needs drag-to-reorder, and the share of JavaScript and TypeScript developers who build those interfaces is hard to measure.
- github.com/SortableJS/Sortable/blob/1.15.7/README.md: Framework-independent browser API for sorting and cross-list moves.
- alpinejs.dev/plugins/sort: Shows use in boards, to-do lists, and tables.
Helps a lot6.9
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It is very good at its main job: easy setup, smooth animations, touch support, dragging between groups and multi-drag. It falls short on accessibility and on very large lists, and it fits awkwardly with React's state model. Types come only from DefinitelyTyped. Because the API is old and stable, AI agents write correct code for it.
- pistack.xyz/posts/2026-08-14-react-drag-and-drop-libraries-dnd-kit-react-dnd-sortablejs-guide: Called the simplest, most battle-tested option for lists; keyboard support is partial and DOM reordering janks on large lists
- elixirforum.com/t/whats-a-great-modern-drag-and-drop-javascript-library-you-recommend/60806: Users call it the de facto vanilla sorting library but say it does not address accessibility
- npm hasTypes: Ships no bundled types
GPT-6.2 Sol: 7.2, likely 6.1 to 8.3
Version 1.15.7 has clear examples for basic sorting and covers touch, cross-list moves, handles, and auto-scroll. Keyboard reordering takes application code, and TypeScript declarations ship separately. User reports show friction in nested layouts and on iOS, and evidence on large-list performance and coding-agent reliability is sparse.
- github.com/SortableJS/Sortable/blob/1.15.7/README.md: Documents the sorting API, plugins, and separate type declarations.
- docs.tabler.io/ui/plugins/sortable?theme=auto: A downstream integration documents the need for keyboard alternatives.
- reddit.com/r/learnjavascript/comments/1qqch46/sortablejs_hard_to_drop_an_item_into_a_parent: A developer reports drop targets shifting in a nested, wrapping list.
- github.com/SortableJS/Sortable/issues/2464: An open user report describes iOS fallback drag failing inside Shadow DOM.
Holds up over time4.3
Will it still be a good choice in two years?
Claude Opus 5.5: 4.0, likely 3.0 to 5.5
The last year had only 2 commits and one patch release (1.15.7, February 2026), and the Scorecard 'Maintained' check scores 0. Issue triage is slow, and the React wrapper is inactive. On the plus side, the API has been stable for years, so breaking changes are rare. Some projects, such as SlickGrid, are replacing it with native drag and drop.
- github commitsLastYear: 2 commits in the last year
- github.com/SortableJS/Sortable/releases: Releases since 1.15.1 are small bug fixes
- issues.ecosyste.ms/hosts/GitHub/repositories/SortableJS%2FSortable: Issues take about six months to close; few merged pull requests last year
- github.com/6pac/SlickGrid/pull/1243: A downstream project replaces SortableJS with native drag and drop
- scorecard Maintained: Score 0
GPT-6.2 Sol: 4.5, likely 3.2 to 5.9
Two commits and one release in the past year put SortableJS well behind Pragmatic drag and drop and dnd kit on repository activity. February’s patch fixed browser and form bugs, and March’s MultiDrag memory-leak fix is still unreleased. The stable 1.x API helps existing users, but the open backlog and recent activity centered on one maintainer make future fixes hard to predict.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: Two commits, one release, 487 open issues, and 47 open pull requests.
- peers commitsLastYear: Pragmatic drag and drop had 160 commits and dnd kit had 516.
- github.com/SortableJS/Sortable/commits: One maintainer made both recent commits, including the unreleased March fix.
- github.com/SortableJS/Sortable/releases/tag/1.15.7: February patch addressed a browser freeze and an input-state bug.
Used widely6.4
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has 23M downloads in 4 weeks and about 30k dependent repositories, the second-highest count among the peers after React DnD. Wrappers such as vuedraggable inflate the downloads, while CDN use in htmx and server-rendered apps adds users that npm does not count. Growth (×2.5) is below the 4.1 median, and dnd-kit and Pragmatic drag and drop are growing much faster, so its share is falling.
- npm downloadsLast4Weeks: 23.3M now vs 9.3M a year ago, ratio 2.5, below the 4.1 median
- dependents repos: 29,924 repos and 2,798 packages
- peers dnd kit downloads: dnd kit at 170M, growing about 7.6x
- github stars: 31k stars
GPT-6.2 Sol: 5.8, likely 4.7 to 7.0
Ecosyste.ms found about 30,000 dependent repositories, more than it found for dnd kit or hello-pangea/dnd. Four-week downloads rose from 9.28 million to 23.35 million, but that 2.52× increase falls below the catalog’s 4.1× benchmark and trails dnd kit and Pragmatic drag and drop. Automated installs and wrappers inflate npm counts, while CDN use can bypass npm, so direct adoption remains hard to estimate.
- dependents repos, packages; peers dependentRepos: 29,924 repositories and 2,798 packages in the partial index.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers downloadsLast4Weeks, downloadsSame4WeeksYearAgo: 2.52× growth versus a 4.1× median and about 7.6× for both faster-growing peers.
- github.com/SortableJS/vue.draggable.next/blob/master/package.json: The Vue wrapper installs SortableJS as a dependency.
- github.com/SortableJS/Sortable/blob/1.15.7/README.md: Documents loading SortableJS directly from a CDN.
- trends.builtwith.com/javascript/SortableJS: Web crawl detects broad deployment, including possible indirect use.
Vouched for6.9
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The htmx sortable example, Phoenix LiveView tutorials and many admin panels build on it, and independent 2026 guides still recommend it for simple, cross-framework lists. No current survey data or benchmark backs it. For new React work, those same guides prefer dnd-kit.
- bluesky top: A developer credits SortableJS and htmx for a feature
- elixirforum.com/t/whats-a-great-modern-drag-and-drop-javascript-library-you-recommend/60806: Used in a Fly.io tutorial and Chris McCord's todo_trek app
- pistack.xyz/posts/2026-08-14-react-drag-and-drop-libraries-dnd-kit-react-dnd-sortablejs-guide: Independent guide: powers many production admin panels
- tech-insider.org/react-vs-vue-drag-and-drop-2026: 2026 comparison places it as the pick for Vue and multi-framework use
GPT-6.2 Sol: 7.7, likely 6.5 to 8.7
Home Assistant’s frontend uses version 1.15.7, and Alpine and Filament build their sorting features on SortableJS. Developers report good results in plain JavaScript and Vue. The range reflects the limited survey and benchmark evidence for the current release.
- raw.githubusercontent.com/home-assistant/frontend/dev/package.json: Home Assistant lists 1.15.7 as a runtime dependency.
- alpinejs.dev/plugins/sort: Alpine credits SortableJS as the engine of its Sort plugin.
- github.com/filamentphp/filament/blob/5.x/packages/support/resources/js/sortable.js: Filament 5 uses SortableJS in its sorting directive.
- reddit.com/r/javascript/comments/1m46fdq/askjs_javascript_library_for_drag_and_drop: A developer reports years of trouble-free use in vanilla JavaScript and Vue.
- 2025.stateofjs.com/en-US/other-tools: The survey does not report SortableJS satisfaction or retention.
Safe6.6
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has no runtime dependencies, no advisories ever recorded and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is only 2.5: no security policy, little code review and no SAST. Release practice depends on a few people.
- npm dependencies: 0 dependencies
- advisories total: No known advisories
- scorecard score: 2.5 overall; Security-Policy, SAST and Maintained all score 0
- npm license: MIT
GPT-6.2 Sol: 6.2, likely 4.9 to 7.6
The MIT licence, zero runtime dependencies, and zero recorded OSV advisories support the score. OpenSSF Scorecard gave it 2.5 out of 10, with weak code review and a missing public security policy. Limited visibility into release controls and how the project would handle a vulnerability keeps the range wide.
- npm dependencies, license; advisories total: Zero runtime dependencies, MIT licence, and zero recorded advisories.
- scorecard score, checks: 2.5 overall, 1 for code review, and 0 for security policy, fuzzing, and static security analysis.
- github.com/SortableJS/Sortable/security: GitHub shows no public security policy or published advisories.
- github.com/SortableJS/Sortable/blob/master/package.json: The manifest names two maintainers. Current npm publishing access is unclear.
Good
- A few lines of options give sorting, dragging between lists through a shared group, clone mode and animations.
- Works without a framework and has wrappers for Vue, React, Angular and Svelte, and it handles touch devices out of the box.
- No runtime dependencies, no known advisories and an MIT licence.
- MultiDrag and Swap plugins cover common needs beyond plain reordering.
Bad
- Activity is very low: 2 commits and 1 release in the last year, with almost 500 open issues.
- Keyboard and screen-reader support is weak compared with dnd-kit or Pragmatic drag and drop.
- It changes the DOM directly, which can clash with React's virtual DOM and StrictMode.
- It ships no types of its own (you need @types/sortablejs), and the React wrapper is inactive.
The numbers
- npm downloads, 4 weeks
- 23M ×2.5 in a year
- GitHub stars
- 31k
- Commits, 12 months
- 2
- npm version
- 1.15.7 Feb 2026
- Versions, 12 months
- 1
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 2.5 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (SortableJS/Sortable), npm (sortablejs), OSV and the OpenSSF Scorecard.
Drag and drop libraries
- 8.0dnd kit
- 7.5Pragmatic drag and drop
- 6.4SortableJS
- 5.8hello-pangea/dnd
- 4.9interact.js
- 3.9Swapy
- 3.7React DnD
- 3.5Dragula
- 1.6react-beautiful-dnd