# interact.js

> JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping

Source: https://talira.ai/catalog/interact-js-zxkj0x4s
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / ui components / drag and drop](https://talira.ai/categories/libraries/ui-components/drag-and-drop)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [taye](https://talira.ai/orgs/taye.md)

interact.js is a JavaScript library for drag and drop, resizing and multi-touch gestures in the browser, with inertia and snapping. It handles several simultaneous interactions, works with SVG elements, runs on desktop and mobile browsers (and Internet Explorer 9 and later), is standalone and customizable, and doesn't modify the DOM except to change the cursor. It's written in TypeScript with type definitions included, installs with `npm install interactjs` or from a CDN, and is MIT licensed.

## Links

- Website: https://interactjs.io/
- GitHub: https://github.com/taye/interact.js
- Docs: https://interactjs.io/docs/

## Problems it solves

- I want draggable, resizable boxes in my web app that also work on touch screens
- I need snapping to a grid when users drag elements
- I want gesture interactions on SVG elements in the browser

## Features

- Drag and drop, resizing and gestures
- Inertia and snapping
- Multi-touch and simultaneous interactions
- SVG element support
- Desktop and mobile browsers
- Doesn't modify the DOM beyond the cursor
- TypeScript definitions

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.63, adoption 0.82, momentum 0.57, community 0.72, backing 0.30, extensibility 0.00.

- last commit 7 days ago
- 4 commits in the last 90 days
- 12.9k GitHub stars
- 63 contributors
- backed by taye

## Sources

[^1]: https://github.com/taye/interact.js/blob/main/README.md (checked 30 Nov 2026)
[^2]: https://github.com/taye/interact.js/blob/main/LICENSE (checked 30 Nov 2026)
