Used in agent projects
24
0.2% of 12,697 public repos built with AI coding agents
Rank in game development
#3 of 3
by use in those projects
Downloads
307K
npm, last 7 days, matter-js
GitHub stars
18.4K
last push Sep 30, 2026
How Matter.js is used
Matter.js is a dependency in 24 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #3 of 3 in game development. The most used alternative there is Phaser. Projects that use it most often also use Three.js (83.3%), React Three Fiber (79.2%), GSAP (62.5%).
Often used with Matter.js
| Three.js | 83.3% of Matter.js projects · 4.5× more than average |
|---|---|
| React Three Fiber | 79.2% of Matter.js projects · 4.3× more than average |
| GSAP | 62.5% of Matter.js projects · 13.2× more than average |
| React Icons | 58.3% of Matter.js projects · 10.8× more than average |
| Framer Motion | 54.2% of Matter.js projects · 4.0× more than average |
| React | 95.8% of Matter.js projects · 2.2× more than average |
| React Router | 50.0% of Matter.js projects · 6.5× more than average |
| clsx | 54.2% of Matter.js projects · 3.1× more than average |
Install
| Package | npm install matter-js |
|---|---|
| Main stacks | TypeScript / JavaScript (12), Next.js (9), React Native / Expo (2), Python (1) |
| Example projects | luigimannoni/experiments |
Alternatives to Matter.js
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Phaser npm Fast, free HTML5 game framework for building 2D games for desktop and mobile. |
517 (4.1%) | 493K | 40.4K | MIT |
| phaser3-rex-plugins npm Collection of community plugins extending Phaser 3 game engine capabilities. |
26 (0.2%) | 15.8K | 1,332 | MIT |