https://github.com/hipstersmoothie/react-spring-auto-test
https://github.com/hipstersmoothie/react-spring-auto-test
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hipstersmoothie/react-spring-auto-test
- Owner: hipstersmoothie
- License: mit
- Created: 2019-10-17T17:28:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:53:51.000Z (over 2 years ago)
- Last Synced: 2025-02-14T07:26:15.289Z (3 months ago)
- Language: TypeScript
- Size: 1.53 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![]()
**react-spring** is a spring-physics based animation library that should cover most of your UI related animation needs. It gives you tools flexible enough to confidently cast your ideas into moving interfaces.
This library represents a modern approach to animation. It is very much inspired by Christopher Chedeau's [animated](https://github.com/animatedjs/animated) and Cheng Lou's [react-motion](https://github.com/chenglou/react-motion). It inherits animated's powerful interpolations and performance, as well as react-motion's ease of use. But while animated is mostly imperative and react-motion mostly declarative, react-spring bridges both. You will be surprised how easy static data is cast into motion with small, explicit utility functions that don't necessarily affect how you form your views.
[](https://travis-ci.org/react-spring/react-spring) [](https://badge.fury.io/js/react-spring) [](https://spectrum.chat/react-spring) [](#backers) [](#sponsors)
### Installation
npm install react-spring
### Documentation and Examples
More info about the project can be found [here](https://www.react-spring.io).
Examples and tutorials can be found [here](https://www.react-spring.io/docs/hooks/basics).
---
## Why springs and not durations
The principle you will be working with is called a `spring`, it _does not have a defined curve or a set duration_. In that it differs greatly from the animation you are probably used to. We think of animation in terms of time and curves, but that in itself causes most of the struggle we face when trying to make elements on the screen move naturally, because nothing in the real world moves like that.
![]()
We are so used to time-based animation that we believe that struggle is normal, dealing with arbitrary curves, easings, time waterfalls, not to mention getting this all in sync. As Andy Matuschak (ex Apple UI-Kit developer) [expressed it once](https://twitter.com/andy_matuschak/status/566736015188963328): _Animation APIs parameterized by duration and curve are fundamentally opposed to continuous, fluid interactivity_.
Springs change that, animation becomes easy and approachable, everything you do looks and feels natural by default. For a detailed explanation watch [this video](https://www.youtube.com/embed/1tavDv5hXpo?controls=1&start=370).
### What others say
![]()
### Used by
And [many others](https://github.com/react-spring/react-spring/network/dependents) ...
## Funding
If you like this project, please consider helping out. All contributions are welcome as well as donations to [Opencollective](https://opencollective.com/react-spring), or in crypto:
BTC: 36fuguTPxGCNnYZSRdgdh6Ea94brCAjMbH
ETH: 0x6E3f79Ea1d0dcedeb33D3fC6c34d2B1f156F2682
You can also support this project by becoming a sponsor. Your logo will show up here with a link to your website.
## Gold sponsors
## Other Sponsors
## Backers
Thank you to all our backers! 🙏
### Contributors
This project exists thanks to all the people who contribute.