Elestia Open Source Ratings
4.9

interact.js

Keep, but not for new work. 5th of 9 drag and drop libraries.

interact.js is a framework-agnostic, low-level library for dragging, resizing and multi-touch gestures, with snapping, inertia and restrictions. It does not give you sortable lists, so you write the reordering and DOM updates yourself. Its single maintainer now works on it rarely, so for sorting or moving items between lists, a peer such as SortableJS, dnd kit or Pragmatic drag and drop is the better start today.

Best for: Vanilla-JS or any-framework apps that need free-form dragging, resizing and snapping, such as editors, dashboards and grid layouts, rather than list sorting.

WebsiteGitHubnpm

Scores

Overall4.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

It is a capable gesture toolkit, but it does not fit the job of sorting items and moving them between lists, and maintenance has slowed to almost nothing. SortableJS (vanilla JS), dnd kit and Pragmatic drag and drop handle list sorting directly and are more active or more widely used. Pick it only when you need free dragging, resizing or snapping. Otherwise, keep it where it already runs.

GPT-6.2 Sol: 5.2, likely 4.1 to 6.3

interact.js earns its place when drag and drop shares an interface with resizing, snapping, or touch gestures. SortableJS handles standard list moves with less app code, and dnd kit supplies sortable behavior and keyboard sensors for React. Sparse maintenance and below-median adoption growth make interact.js a harder choice for a new project. The range reflects how much the recommendation depends on needing its custom pointer controls.

  • interactjs.io/docs: Custom drag and gesture controls leave rendering and ordering to the app.
  • github.com/SortableJS/Sortable: SortableJS handles ordering and grouped lists directly.
  • github.com/clauderic/dnd-kit: dnd kit supplies sortable primitives and keyboard sensors.
  • github commitsLastYear, npm versionsLastYear, peers commitsLastYear: One patch and fewer commits than dnd kit or Pragmatic drag and drop.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth trails the catalog median.
Needed by many4.4

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Many web apps need drag interactions, and this library works with any framework. Its main fit, though, is free dragging, resizing and gestures, not the category's core job of sorting items and moving them between lists. That makes it narrower for this category's readers than SortableJS or dnd kit.

GPT-6.2 Sol: 3.8, likely 2.6 to 5.0

Sortable lists are a recurring need in browser apps such as boards and editors. interact.js works across frameworks, but its low-level controls are most useful when a project needs custom drag behavior. Developer surveys show broad use of web frameworks without measuring how often projects need that level of control.

Helps a lot5.1

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Its gesture engine is mature and capable, with modifiers for snapping and restrictions, inertia, dropzones and types. For sorting lists and moving items between them, you must write the reordering, placeholders and accessibility yourself, which SortableJS and dnd kit provide. Open bugs, such as cached dropzone bounds, Shadow DOM handling and a memory leak after unset, and a documentation site that keeps going down also lower the score.

GPT-6.2 Sol: 5.1, likely 4.0 to 6.2

Version 1.10.28 has documented, typed drag and drop events and flexible controls for pointer and touch input. The app still owns ordering, cross-list moves, visual feedback, and keyboard behavior, which gives coding agents more app-specific logic to get right. User reports flag Angular typing and dynamic drop-zone friction. The implementation gaps are clear, while comparative speed and agent reliability are harder to judge.

Holds up over time4.0

Will it still be a good choice in two years?

Claude Opus 5.5: 3.5, likely 2.5 to 5.0

The last year saw 12 commits and one patch release (1.10.28, August 2026), and there are no GitHub releases. The Scorecard Maintained check is 0. One person maintains it, with no visible funding, and issues are left without replies. It is not archived, but the ecosystem is moving towards dnd kit and Pragmatic drag and drop.

  • github commitsLastYear: 12 commits; versionsLastYear 1.
  • scorecard Maintained: Score 0.
  • github.com/taye/interact.js/releases: No GitHub releases are published.
  • peers commitsLastYear: dnd kit has 516 commits and Pragmatic drag and drop 160.

GPT-6.2 Sol: 4.5, likely 3.2 to 5.8

The August patch fixed a rectangle-checking bug after a gap of more than two years. One maintainer authored all 12 recorded commits in the last year, mostly for build and release work, and user issues remain open. The Pro roadmap lists sortable components as still in development. The long-lived API helps, but concentrated release ownership and unclear funding widen the two-year range.

Used widely4.2

How many use it, and is that growing?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

It has 4.3M downloads in 4 weeks, up 2.87 times from a year ago. That is below the 4.1 median, so it is losing share. It has 2,093 dependent repos, far below SortableJS (29,924) and dnd kit (8,837), and part of its downloads come through libraries such as vue-grid-layout. Its 12.9k stars mostly date from earlier years.

  • npm downloadsLast4Weeks: 4,297,902, against 1,499,798 a year ago, a ratio of 2.87 versus the 4.1 median.
  • dependents repos: 2,093 repos and 486 packages.
  • npmjs.com/package/vue-grid-layout: vue-grid-layout uses interact.js, which brings in indirect installs.

GPT-6.2 Sol: 3.8, likely 2.7 to 5.0

Four-week npm installs rose from 1.50 million to 4.30 million, or 2.87 times, below the catalog median of 4.1 times. That points to slipping relative reach even as installs rise. The 2,093 detected repositories and 486 packages indicate established use, with far fewer detected repositories than SortableJS or dnd kit and little recent Bluesky attention. Automated installs, CDN use, and separate scoped packages leave the direct user count uncertain.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 2.87 times against a 4.1 times median.
  • dependents, peers dependentRepos: 2,093 detected repositories versus 29,924 for SortableJS and 8,837 for dnd kit.
  • github stars, bluesky posts, hackerNews stories: 12,945 stars, one recent Bluesky link, and zero matching Hacker News stories.
  • interactjs.io/docs/installation: CDN and scoped imports sit outside the tracked npm package.
Vouched for4.8

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 2.5 to 5.5

Mozilla Hacks featured it (in 2014), and grid-layout libraries such as vue-grid-layout build on it. I found no current independent benchmarks, survey data or recent Hacker News or Bluesky discussion. Recent comparison articles mostly leave it out in favour of SortableJS and the React libraries.

GPT-6.2 Sol: 5.5, likely 4.3 to 6.7

jQuery QueryBuilder uses interact.js to sort rules, and a community Home Assistant dashboard card ships it for drag and resize. runZero also lists the scoped packages in its software bill of materials. These are concrete examples of downstream use, while recent independent performance and satisfaction evidence for sortable lists is thin.

Safe5.9

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 4.5 to 7.5

It has no published advisories, an MIT licence and one dependency, and it is a client-side library with a small attack surface. The Scorecard is 3.8, with 0 for code review, security policy, token permissions and maintenance. A prototype-pollution report about draggable options has been open since June 2026, and one person publishes the releases.

  • advisories total: 0 advisories.
  • scorecard score: 3.8 overall, with weak Code-Review and Security-Policy checks.
  • github.com/taye/interact.js/issues: An open prototype-pollution issue from June 2026.
  • npm dependencies: 1 dependency.

GPT-6.2 Sol: 5.8, likely 4.4 to 7.2

The main package is MIT-licensed and pulls in one type package, and OSV lists zero advisories. The release script stages npm updates for maintainer approval with two-factor authentication, with one maintainer account listed for the main package. OpenSSF scores the repository 3.8 out of 10, with zeroes for code review, token permissions, and security policy. An open prototype-pollution report has unclear impact on the current release, which widens the range.

Good

  • One API covers dragging, resizing, pinch and rotate gestures, with snapping, inertia and restrictions built in.
  • It works with any framework and does not touch the DOM except for the cursor, so you keep full control of rendering.
  • It ships TypeScript types, has an MIT licence and has no published security advisories.
  • It supports pointer and touch input, and libraries such as vue-grid-layout are built on it.

Bad

  • It has no sortable lists, list-to-list transfer or accessibility helpers, so you must build list reordering yourself.
  • Maintenance has slowed to 12 commits and one npm release in the last year, and issues get no visible replies.
  • The documentation site has been reported down several times since late 2024.
  • A prototype-pollution issue opened in June 2026 is still open, and the OpenSSF Scorecard is 3.8.

The numbers

npm downloads, 4 weeks
4.3M ×2.9 in a year
GitHub stars
13k
Commits, 12 months
12
npm version
1.10.28 Aug 2026
Versions, 12 months
1
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.8 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (taye/interact.js), npm (interactjs), OSV and the OpenSSF Scorecard.

Drag and drop libraries

  1. 8.0dnd kit
  2. 7.5Pragmatic drag and drop
  3. 6.4SortableJS
  4. 5.8hello-pangea/dnd
  5. 4.9interact.js
  6. 3.9Swapy
  7. 3.7React DnD
  8. 3.5Dragula
  9. 1.6react-beautiful-dnd
Compare all 9 on six scores