FindSoftware

interact.js

JavaScript library for drag and drop, resizing and multi-touch gestures, with inertia and snapping, for modern browsers.

interact.js adds drag and drop, resizing and multi-touch gestures to elements on a web page, with inertia and snapping for the movement. The homepage says the library does not move anything itself: it provides the pointer event data, and the page decides what feedback users get, whether that is dragging elements, drawing on a canvas or scrolling the page. It works with HTML and SVG, and one API covers touch and mouse events.

Worth knowing

The project’s Pro page lists further features and describes interact.js Pro as still under development.

Identity

Status
Active
Maintainer
Taye Adeyemi4
Maintained by
Individual4
First release
20138

Rendering and deploy

Install with
npm install interactjs (pre-bundled package), npm install of @interactjs/ scoped packages, one per feature, script tag from the jsDelivr or unpkg CDN, ES module imports from cdn.interactjs.io, yarn add interactjs in a Rails app6

Releases

Current major version
17
Last release
2026-08-017

Adoption

GitHub stars
12,9422
npm downloads a week
1,146,7359
Contributors
5110
Dependent repositories
2,09311
Dependent packages
48611

Why these figures do not compare

Sources

  1. 2026-11-16: links
    interactjs.io/
  2. 2026-11-16: links, GitHub stars
    api.github.com/repos/taye/interact.js
  3. 2026-11-16: links, Categories
    interactjs.io/docs/
  4. 2026-11-16: Maintainer, Maintained by
    github.com/taye/interact.js/blob/main/LICENSE
  5. 2026-11-16: Written in, License, License model
    github.com/taye/interact.js/blob/main/README.md
  6. 2026-11-16: Install with
    interactjs.io/docs/installation/
  7. 2026-11-16: Current major version, Last release
    registry.npmjs.org/interactjs
  8. 2026-11-16: First release
    api.github.com/repos/taye/interact.js/commits/b19a3130e3c0726cf5bf8dcaf87c2dc064369105
  9. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/interactjs
  10. 2026-11-16: Contributors
    api.github.com/repos/taye/interact.js/contributors?per_page=1
  11. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/interactjs

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON