Coder Social home page Coder Social logo

streamich / react-spring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pmndrs/react-spring

0.0 2.0 0.0 45.91 MB

๐Ÿ™Œ Helping react-motion and animated to become best friends

Home Page: http://react-spring.surge.sh/

License: MIT License

JavaScript 99.32% CSS 0.33% TypeScript 0.34%

react-spring's Introduction

Patreon donate button Backers on Open Collective Sponsors on Open Collective Build Status npm version react version Join the community on Spectrum code style: prettier

npm install react-spring

Table of Contents

What is it?

A set of spring-physics based primitives (as in building blocks) that should cover most of your UI related animation needs once plain CSS can't cope any longer. Forget easings, durations, timeouts and so on as you fluidly move data from one state to another. This isn't meant to solve each and every problem but rather to give you tools flexible enough to confidently cast ideas into moving interfaces.

Why do we need yet another?

react-spring is a cooked down fork of Christopher Chedeau's animated (which is used in react-native by default). It is trying to bridge it with Cheng Lou's react-motion. Although both are similarily spring-physics based they are still polar opposites.

Declarative Primitives Interpolations Performance
React-motion ย  โœ… โœ… โŒ โŒ
Animated ย  ย  ย  โŒ โŒ โœ… โœ…
React-spring ย  โœ… โœ… โœ… โœ…

react-spring builds upon animated's foundation, making it leaner and more flexible. It inherits react-motions declarative api and goes to great lengths to simplify it. It has lots of useful primitives, can interpolate mostly everything and last but not least, can animate by committing directly to the dom instead of re-rendering a component frame-by-frame.

For a more detailed explanation read Why React needed yet another animation library.

What others say

Used by

And many others ...

API Reference and examples

You'll find a full docs, live playgrounds, prop descriptions and so forth here:

Funding

If you like this project, consider helping out, all contributions are welcome as well as donations to opencollective or Patreon. You can make one off donations in crypto to 36fuguTPxGCNnYZSRdgdh6Ea94brCAjMbH (BTC).

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! ๐Ÿ™

Gold sponsors

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website.

react-spring's People

Contributors

afisher88 avatar ahadc avatar andarist avatar chanceeakin avatar drcmda avatar gforrest-bw avatar jacoblearned avatar jakemmarsh avatar jeef3 avatar jigsawye avatar leonascimento avatar malwilley avatar mikealexmartinez avatar mjsisley avatar mvasin avatar obetomuniz avatar onchainguy-eth avatar ooloth avatar pingshunhuangalex avatar precociouslydigital avatar prinzhorn avatar sharils avatar sonaye avatar tarpsvo avatar thomhos avatar tisto avatar trysound avatar vai0 avatar wilcoschoneveld avatar zachasme avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.