# @mui/x-internal-gestures

> The core engine of GestureEvents, a modern and robust multi-pointer gesture detection library for JavaScript.

Latest version **9.13.0** (published 2026-09-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mui/x-internal-gestures
pnpm add @mui/x-internal-gestures
yarn add @mui/x-internal-gestures
bun add @mui/x-internal-gestures
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 9.13.0 |
| Published | 2026-09-04 |
| First published | 2025-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 764.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5842 |
| Author | MUI Team |
| Maintainers | cherniavskii, lukastyla, alexandrefauquette, danailh, flaviendelangle, oliviertassinari, mbilalshafi, jcquintas, kyusuf, michelengelen, noraleonte, arminmeh, romgrk, bernardobelchior, rita-codes, janpotoms |
| Keywords | multitouch, gesture, library, wheel, pan, pinch, move, rotate, press, tap, simultaneous, gestures, pointer, typescript |

## Links

- npm: https://www.npmjs.com/package/@mui/x-internal-gestures
- Repository: https://github.com/mui/mui-x
- Homepage: https://mui.com/x/
- Issues: https://github.com/mui/mui-x/issues
- npm.io page: https://npm.io/package/@mui/x-internal-gestures

## Dependencies (2)

- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.29.7
- [@base-ui/utils](https://npm.io/package/@base-ui/utils.md) ^0.3.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 9.13.0 (latest) — 2026-09-04
- 0.5.0 (latest-v8) — 2026-06-05
- 9.0.0-rc.0 (next) — 2026-04-07
- 9.12.0 — 2026-08-21
- 9.10.0 — 2026-07-17
- 9.9.0 — 2026-07-09
- 9.8.0 — 2026-07-02
- 9.7.0 — 2026-06-25
- 9.6.0 — 2026-06-18
- 9.3.0 — 2026-05-21
- 9.2.0 — 2026-05-13
- 9.1.0 — 2026-05-08
- 9.0.2 — 2026-04-15
- 9.0.0 — 2026-04-08
- 0.4.1-alpha.0 — 2026-03-05
- … 16 more at https://npm.io/package/@mui/x-internal-gestures/versions

## README

# Gestures

A modern and robust multi-pointer gesture detection library for JavaScript and TypeScript applications. It is built on top of the Pointer Events API, and leverages the Event Target API to provide a flexible and extensible framework for detecting user gestures in across all modern browsers.

## Entrypoints

This library is structured into multiple entrypoints to allow for modular usage:

- `@mui/x-internal-gestures/core`: The core gesture detection library
- `@mui/x-internal-gestures/testing`: Utilities for simulating gestures in tests
- `@mui/x-internal-gestures/matchers`: Vitest matchers for testing gestures

### [Core](./src/core/README.md)

The core library for detecting and handling user gestures in web applications. It provides a flexible API for configuring and responding to various gesture interactions including tap, press, move, pan, pinch, rotate, and turn wheel.

### [Testing](./src/testing/README.md))

Utilities for simulating user gestures in browser testing environments. This works alongside `core` to make it easy to test gesture interactions.

### [Matchers](./src/matchers/README.md))

Vitest matchers for testing gestures, making it easier to ensure gesture implementations behave as expected.

## Supported Gestures

The following gestures are supported by the `@mui/x-internal-gestures` library:

- [Tap](./src/core/README.md#tap-gesture) - Detects when a user taps on an element
- [Press](./src/core/README.md#press-gesture) - Detects when a user presses and holds on an element
- [Move](./src/core/README.md#move-gesture) - Detects when a pointer enters, moves within, and leaves an element
- [Pan](./src/core/README.md#pan-gesture) - Detects when a user drags across an element in any direction
- [Pinch](./src/core/README.md#pinch-gesture) - Detects when a user pinches in or out on an element
- [Rotate](./src/core/README.md#rotate-gesture) - Detects when a user rotates pointers around a center point
- [Turn Wheel](./src/core/README.md#turn-wheel-gesture) - Detects mouse wheel events on an element

---
_Source: https://npm.io/package/@mui/x-internal-gestures · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
