Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Three.js

JavaScript 3D library for creating interactive 3D graphics in browsers.

3D and graphics npm MIT

Used in agent projects
2,329
18.3% of 12,697 public repos built with AI coding agents
Rank in 3d and graphics
#2 of 19
by use in those projects
Downloads
20.1M
npm, last 7 days, three
GitHub stars
116K
last push Oct 10, 2026

How Three.js is used

Three.js is a dependency in 2,329 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (18.3%), #2 of 19 in 3d and graphics. The most used alternative there is React Three Fiber. Projects that use it most often also use React Three Fiber (95.3%), React (83.9%), Framer Motion (39.1%). It is more common in projects set up for Kiro (8.9%) than for GitHub Copilot (3.1%).

Often used with Three.js

React Three Fiber95.3% of Three.js projects · 5.1× more than average
React83.9% of Three.js projects · 1.9× more than average
Framer Motion39.1% of Three.js projects · 2.9× more than average
Vite46.2% of Three.js projects · 2.0× more than average
Tailwind CSS55.8% of Three.js projects · 1.6× more than average
GSAP20.7% of Three.js projects · 4.4× more than average
ESLint50.5% of Three.js projects
Lucide React33.4% of Three.js projects · 1.7× more than average

By coding agent

Claude Code8.2% of projects set up for it
GitHub Copilot3.1% of projects set up for it
Cursor3.4% of projects set up for it
Gemini CLI7.8% of projects set up for it
OpenAI Codex5.8% of projects set up for it
OpenCode5.0% of projects set up for it
Devin Desktop5.8% of projects set up for it
Kiro8.9% of projects set up for it

Share of public repos configured for each agent that list Three.js as a dependency.

Install

Packagenpm install three
Main stacksTypeScript / JavaScript (1,453), Next.js (778), Python (75), React Native / Expo (9)
Example projectspmndrs/threejs-journey, av/remotion-bits, ErdongChen-Andrew/CharacterControl, 5pyj29s7cm-tech/LumiCore, nirholas/three.ws

Alternatives to Three.js

All 3d and graphics

Tool Used in agent projectsDownloads / wk GitHub starsLicense
React Three Fiber npm
React renderer for Three.js enabling 3D graphics with component patterns.
2,360 (18.6%) 6M 32.8K MIT
maath npm
Math utilities library for 3D graphics and animations in Three.js and React Three Fiber.
176 (1.4%) 4.6M — MIT
Leaflet npm
Lightweight JavaScript library for creating mobile-friendly interactive maps.
160 (1.3%) 8M 45.7K BSD-2-Clause
React Leaflet npm
React components for Leaflet maps enabling interactive mapping in React applications.
121 (1.0%) 3.7M 5,603 Hippocratic-2.1
Postprocessing npm
Post-processing effects library for Three.js rendering advanced visual effects.
109 (0.9%) 977K 2,874 Zlib
r3f-perf npm
Performance monitoring tool for React Three Fiber applications.
78 (0.6%) 31.1K 781 MIT
three-stdlib npm
Stand-alone collection of Three.js examples and utilities.
78 (0.6%) 4.3M 861 MIT
OGL npm
Lightweight WebGL library for 3D graphics rendering with minimal overhead.
66 (0.5%) 658K 4,668 Unlicense
Is Three.js right for your project? Ask AgentGid →