# interact.js: 4.9 out of 10

Keep, but not for new work. 5th of 9 in [Drag and drop libraries](https://elestia.ai/opensource/drag-and-drop/index.md).

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

- **Overall: 4.9** (likely 3.8 to 5.9)
  - Claude Opus 5.5 (4.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): 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.
- **Needed by many: 4.4** (likely 3.3 to 5.5)
  - Claude Opus 5.5 (5.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): 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 lot: 5.1** (likely 4.0 to 6.4)
  - Claude Opus 5.5 (5.0): 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): 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 time: 4.0** (likely 2.9 to 5.4)
  - Claude Opus 5.5 (3.5): 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.
  - GPT-6.2 Sol (4.5): 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 widely: 4.2** (likely 3.1 to 5.3)
  - Claude Opus 5.5 (4.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.
  - GPT-6.2 Sol (3.8): 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.
- **Vouched for: 4.8** (likely 3.4 to 6.1)
  - Claude Opus 5.5 (4.0): 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): 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.
- **Safe: 5.9** (likely 4.5 to 7.4)
  - Claude Opus 5.5 (6.0): 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.
  - GPT-6.2 Sol (5.8): 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

- Downloads, 4 weeks: 4.3M
- In a year: ×2.9
- GitHub stars: 13k
- Commits, 12 months: 12
- Last npm release: Aug 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/taye/interact.js
- npm: https://www.npmjs.com/package/interactjs

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
