react-spring
React animation library using physics-based spring dynamics.
Animation and motion npm MIT
Used in agent projects
32
0.3% of 12,697 public repos built with AI coding agents
Rank in animation and motion
#19 of 28
by use in those projects
Downloads
1.1M
npm, last 7 days, react-spring
GitHub stars
29.2K
last push Oct 9, 2026
How react-spring is used
react-spring is a dependency in 32 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #19 of 28 in animation and motion. The most used alternative there is Framer Motion. Projects that use it most often also use React Three Fiber (84.4%), Three.js (81.2%), Framer Motion (59.4%).
Often used with react-spring
| React Three Fiber | 84.4% of react-spring projects · 4.5× more than average |
|---|---|
| Three.js | 81.2% of react-spring projects · 4.4× more than average |
| Framer Motion | 59.4% of react-spring projects · 4.4× more than average |
| React | 90.6% of react-spring projects · 2.1× more than average |
| React Router | 37.5% of react-spring projects · 4.9× more than average |
| Tailwind CSS | 59.4% of react-spring projects · 1.7× more than average |
| React Icons | 25.0% of react-spring projects · 4.6× more than average |
| Radix UI | 34.4% of react-spring projects · 2.9× more than average |
Install
| Package | npm install react-spring |
|---|---|
| Main stacks | TypeScript / JavaScript (19), Next.js (12), Python (1) |
| Example projects | sunflower-land/sunflower-land, mattrossman/magic-marble-tutorial, MartinRGB/iOS17_Namedrop_R3F, EDSpower/vite-react-ts-app, rr3s1/portfolio-v2 |
Alternatives to react-spring
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Framer Motion npm Simple and powerful animation library for React components. |
1,703 (13.4%) | 50.1M | 33.9K | MIT |
| Tailwind CSS Animate npm Tailwind CSS plugin adding ready-to-use animation utilities. |
945 (7.4%) | 20.4M | — | MIT |
| tw-animate-css npm Tailwind CSS v4.0 compatible animation plugin replacement. |
851 (6.7%) | 39.6M | 806 | MIT |
| Embla Carousel npm Lightweight carousel component with fluid motion and precise swipe handling for React. |
605 (4.8%) | 30.4M | 8,439 | MIT |
| GSAP npm Professional animation library for high-performance CSS, SVG, canvas and React animations. |
599 (4.7%) | 5.9M | 29K | Standard 'no charge' license: https://gsap.com/standard-license. |
| Motion npm Animation library for JavaScript and React with simple, powerful motion primitives. |
416 (3.3%) | 24.4M | 33.9K | MIT |
| Lenis npm Smooth scrolling library that enhances page scroll experiences with physics-based animations. |
193 (1.5%) | 1.8M | 16.3K | MIT |
| React Native Reanimated npm High-performance animation library for React Native with worklet support. |
129 (1.0%) | 9.3M | 11K | MIT |