# pmndrs/react-spring

✌️ A spring physics based React animation library

Repository: https://github.com/pmndrs/react-spring
Canonical: https://ross.abutalabs.com/products/react-spring
Homepage: http://www.react-spring.dev/
Language: TypeScript
License: MIT
License Family: permissive
Topics: animation-library, spring-physics, react, springs, react-spring
Last push: 2026-08-26T18:36:07+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 90, longevity 100
- inputs: {"age_days": 3101, "days_push": 7, "days_rel": 70, "gap_med": 15.5, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 29139, forks 1217 (observed 2026-08-28T04:11:53.065762+00:00)

## What it is
react-spring is a spring-physics based animation library for React that lets you build fluid, interactive UI animations via hooks like useSpring, useTransition, and useTrail. It supports multiple React reconciler targets including web (react-dom), React Native, react-three-fiber, konva, and zdog, with both declarative and imperative APIs.

## Use cases
- animate ui components in react with spring physics
- create fade-in and scroll-in animations
- animate three.js scenes with react-three-fiber
- build fluid interactive transitions without re-renders
- chain and stagger animations in react
- animate react native components
- animate svg and html elements

## When to choose
- you want natural, physics-based motion instead of duration/curve animations
- you need performant animations that bypass React re-renders
- you need cross-platform animation across web, native, and three.js
- you want both declarative hooks and an imperative API

## When to avoid
- you need simple CSS-only transitions without a dependency
- your project is not React-based
- you need keyframe/timeline-based animation with precise durations as the primary model

## Facets
- artifact type: library
- maturity: stable
- function: animation, ui-components, frontend-framework
- domain: frontend, web-development, graphics
- platform: browser, cross-platform
- tags: spring-physics, react-hooks, react-three-fiber, react-native, typescript, motion, nodejs, mobile

## Member repositories
- pmndrs/react-spring (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.065762+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:53:10.832257+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/react-spring (fetched 2026-08-28T04:11:53.065762+00:00, sha 46401990e1e9)
  - homepage: http://www.react-spring.dev/ (fetched 2026-08-29T07:50:38.865446+00:00, sha e6ccfdeaef04)
  - site_page: https://www.react-spring.dev/docs/concepts/targets (fetched 2026-08-29T07:50:38.875274+00:00, sha a463e2b231e5)
  - site_page: https://www.react-spring.dev/docs/concepts/imperative-api (fetched 2026-08-29T07:50:38.877742+00:00, sha f2d1560a9068)
  - site_page: https://www.react-spring.dev/docs/getting-started (fetched 2026-08-29T07:50:38.872140+00:00, sha 90091d2ca722)
  - site_page: https://www.react-spring.dev/docs (fetched 2026-08-29T07:50:38.869715+00:00, sha 8df634ff079d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
