10 Best JavaScript Mouse Events Libraries

List hand-picked by Openbase Experts
Learn More

react-use-gesture

👇Bread n butter utility for component-tied mouse/touch gestures in React

184K
4.6K
Built-in
MIT
rdm

Mouse Backend for react-dnd library

28.2K
82
No support
MIT
vue-click-outside

ClickOutside directive for Vue.

69.7K
291
No support
MIT
rcp

A React component that decorates its children with mouse and touch coordinates relative to itself.

47.2K
140
No support
MIT
rip

A React component that decorates it's children with mouse/touch position tracking, a status toggle fired by click/gesture events, and more.

11.2K
35
No support
MIT
rsw

Simple React component for handling scroll trackpad, arrow keys, swipe gestures and mouse wheel event.

3.6K
53
Built-in
ISC
rr

React rotation component

1.7K
110
No support
MIT
react-mouse-aware

A tiny higher order component to track mouse state.

1.5K
37
No support
MIT
np

Pan/Zoom library for Angular

1.3K
51
Built-in
MIT
ra

Determine the cursor aim for triggering mouse events.

1.2K
367
Built-in
MIT
vdl

Vue Directive for Long Press

1.1K
21
No support
MIT
nlp

Angular Library to handle long mouse clicks event for desktop and long touch events for mobile and tablets

607
2
Built-in
MIT
react-browser-hooks

React Browser Hooks

470
129
No support
Apache-2.0
ns

An Angular Selecto Component that allows you to select elements in the drag area using the mouse or touch.

439
Built-in
MIT
am

[DEPRECATED] An AngularJS directive for cross-browser mouse wheel support.

387
70
No support
MIT
vue-mouseover

Changes Vue component data property when mouse enters or leaves HTML element

78
3
Built-in
MIT
nm

Angular library to use mousetrap as Angular Service or Directive

57
7
Built-in
vlp

Long press directive plugin for Vue.js

55
10
No support
MIT
ng2-mouse-select

Angular 2 directive for selecting multiple items with the mouse.

32
1
Built-in
ar

Angular 2+ material menu trigger for right mouse button

22
0
DefinitelyTyped
MIT
vm

Vue plugin for moving background-position on mouse move

20
3
No support
MIT
react-event-components

🛰 A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)

20
271
No support
MIT
ns

A simple angular directive to assist with handling mouse scroll events

8
3
No support
BSD-2-Clause
vh

@yst/vue-hoverable · Lightweight Vue utility for listening to mouse hover.

6
1
No support
MIT
vh

A Vue plugin for adding dynamic hover styles to an HTML element.

5
0
No support
MIT
amt

Angular directive for mouse tooltip

2
0
No support
MIT
ap

Pressmove directive for angular

2
1
No support
MIT
vmp

get the current mouse position

2
No support
MIT
vh

Direction-aware hover effect for Vue2.0.

1
3
No support
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.