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.
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.
- github commitsLastYear: 12 commits and one release in the last year.
- npm downloads ratio: 2.87, below the 4.1 median.
- best-of-web.builder.io/library/taye/interact.js: Comparisons recommend SortableJS or Dragula for simple reordering.
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.
- github description: Drag and drop, resizing and multi-touch gestures with inertia and snapping.
- hacks.mozilla.org/2014/11/interact-js-for-drag-and-drop-resizing-and-multi-touch-gestures: Describes it as gesture primitives where your own listeners move the elements.
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.
- survey.stackoverflow.co/2025/technology: Web framework usage gives context for the potential audience.
- interactjs.io/docs: Browser pointer primitives cover drag, resize, and touch gestures.
- openkeynav.com/docs/integration_guides/drag_and_drop_libraries: Independent comparison distinguishes drop zones from sortable-list APIs.
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.
- github.com/taye/interact.js/issues: Open bugs: stale dropzone bounds, a Shadow DOM problem, a memory leak, and the docs site being down.
- best-of-web.builder.io/library/taye/interact.js: A comparison calls it more versatile but more complex than SortableJS or Dragula.
- npm hasTypes: Ships TypeScript types.
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.
- npm latestVersion, npm hasTypes: Stable version 1.10.28 ships TypeScript declarations.
- interactjs.io/docs/dropzone: Drop events expose the target and leave DOM updates to the app.
- openkeynav.com/docs/integration_guides/drag_and_drop_libraries: The current-version recipe adds keyboard handling and app-owned movement.
- github.com/taye/interact.js/issues/1059: Users report an Angular compiler error in the shipped declarations.
- github.com/taye/interact.js/issues/1071: A user reports stale drop boundaries when layouts change mid-drag.
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.
- github commitsLastYear, npm versionsLastYear: Twelve commits and one npm publication in the past year.
- openhub.net/p/interact_js/commits: The August work came from one maintainer and focused on release tooling.
- github.com/taye/interact.js/blob/main/CHANGELOG.md: The August release documents one fix and stays on the 1.10 line.
- npm.io/package/interactjs: Package metadata lists one maintainer account.
- github.com/taye/interact.js/issues/1071: A January 2026 drag-and-drop report remains open.
- interactjs.io/pro: Pro lists sortable components and remains in development.
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.
- hacks.mozilla.org/2014/11/interact-js-for-drag-and-drop-resizing-and-multi-touch-gestures: An old but credible endorsement.
- dev.to/bryntum/best-drag-and-drop-libraries-for-frontend-developers-39d5: A 2023 roundup that does not mention interact.js.
- hackerNews stories / bluesky posts: 0 Hacker News stories and 1 Bluesky post.
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.
- querybuilder.js.org/api/plugins_sortable_plugin.js.html: QueryBuilder's sortable plugin uses interact.js for rule movement.
- github.com/Prosono/Drag-And-Drop-Card: A community Home Assistant dashboard card bundles interactjs.
- help.runzero.com/docs/runzero-bom.pdf: runZero lists the scoped bundle and several interact.js modules.
- openkeynav.com/docs/integration_guides/drag_and_drop_libraries: Independent integration guide covers the current stable version.
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.
- npm license, npm dependencies, advisories: MIT, one direct dependency, and zero OSV advisories.
- scorecard score, scorecard checks: Weak review, workflow permissions, and security policy checks.
- raw.githubusercontent.com/taye/interact.js/refs/heads/main/scripts/bin/release.js: The release script uses npm staged publishing.
- docs.npmjs.com/staged-publishing: Staged npm releases require maintainer approval with two-factor authentication.
- npm.io/package/interactjs: The main package lists a single maintainer account.
- github.com/taye/interact.js/issues: Issue 1072 remains an open security report.
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
- 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