Skip to content

Commit e393be1

Browse files
committed
update front
1 parent b9d31c2 commit e393be1

File tree

1 file changed

+56
-42
lines changed

1 file changed

+56
-42
lines changed

readme.md

Lines changed: 56 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,55 @@
11
<p align="center">
2-
<img src="assets/front/logo.png" width="700" />
2+
<img src="https://i.imgur.com/QZownhg.png" width="240" />
33
</p>
44

5+
# react-spring
6+
57
<p align="middle">
6-
<img src="assets/spring.gif" width="285" />
7-
<img src="assets/transitions.gif" width="285" />
8-
<img src="assets/trails.gif" width="285" />
9-
</p>
10-
<p align="middle">
11-
<img src="assets/tree.gif" width="285" />
12-
<img src="assets/sunburst.gif" width="285" />
13-
<img src="assets/areas.gif" width="285" />
14-
</p>
15-
<p align="middle">
16-
<img src="assets/gestures.gif" width="285" />
17-
<img src="assets/reveals.gif" width="285" />
18-
<img src="assets/morph.gif" width="285" />
19-
</p>
20-
<p align="middle">
21-
<img src="assets/vertical.gif" width="285" />
22-
<img src="assets/horizontal.gif" width="285" />
23-
<img src="assets/keyframes-trail.gif" width="285" />
8+
<a href="https://codesandbox.io/embed/n9vo1my91p" style={{ margin: 10 }}><img src="https://i.imgur.com/tg1mN1F.gif" width="410"/></a>&nbsp;&nbsp;&nbsp;
9+
<a href="https://codesandbox.io/embed/j0y0vpz59" style={{ margin: 10 }}><img src="https://i.imgur.com/OxGLHeT.gif" width="280"/></a>&nbsp;&nbsp;&nbsp;
10+
<a href="https://codesandbox.io/embed/r5qmj8m6lq" style={{ margin: 10 }}><img src="https://i.imgur.com/ifdCBvG.gif" width="90"/></a>
2411
</p>
2512
<p align="middle">
26-
<img src="assets/dragndrop.gif" width="285" />
27-
<img src="assets/stream.gif" width="285" />
28-
<img src="assets/time.gif" width="285" />
13+
<i>These demos are real, click them!</i>
2914
</p>
3015

16+
is a *set of simple, 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 give each and every problem a specific solution, but rather to give you tools flexible enough to confidently cast your ideas into moving interfaces, or introduce motion to the static.
17+
3118
<br />
3219

33-
[![Build Status](https://travis-ci.org/drcmda/react-spring.svg?branch=master)](https://travis-ci.org/drcmda/react-spring) [![npm version](https://badge.fury.io/js/react-spring.svg)](https://badge.fury.io/js/react-spring) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/react-spring) <span class="badge-patreon"><a href="https://www.patreon.com/0xca0a" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> [![Backers on Open Collective](https://opencollective.com/react-spring/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-spring/sponsors/badge.svg)](#sponsors)
20+
[![Build Status](https://travis-ci.org/drcmda/react-spring.svg?branch=master)](https://travis-ci.org/drcmda/react-spring) [![npm version](https://badge.fury.io/js/react-spring.svg)](https://badge.fury.io/js/react-spring) [![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/react-spring) <span class="badge-patreon"><a href="https://www.patreon.com/0xca0a" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> [![Backers on Open Collective](https://opencollective.com/react-spring/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-spring/sponsors/badge.svg)](#sponsors)
21+
22+
### Installation
3423

3524
npm install react-spring
3625

37-
React-spring is a spring physics based animation library for React.
26+
### Documentation and Examples
27+
28+
Full documentation and examples here: **[react-spring.surge.sh](https://react-spring.surge.sh/)**
29+
30+
---
31+
32+
### Why springs and not durations
33+
34+
The most basic principle you will be working with is called a `spring`. A spring *does not have a curve, it does not have a duration, it is physics based*! Think of a weight attached to a spring:
35+
36+
<p align="middle">
37+
<img src="https://s3-eu-west-1.amazonaws.com/functionsandgraphs/animation+of+a+spring+vibrating+up+and+down.gif" />
38+
</p>
3839

39-
For a more detailed explanation read [Why React needed yet another animation library](https://medium.com/@drcmda/why-react-needed-yet-another-animation-library-introducing-react-spring-8212e424c5ce).
40+
Let the weight loose and it rushes down, coming to rest when the force is overcome. Yank the spring up and it will expend its energy and move up according to its momentum. Time based animation on the other hand would have it drop down in an arbitrary timeframe, say 2 seconds. Pull up mid-air and it would stop naively, then move back 2 seconds again. No matter which curve you choose, it will never look natural.
4041

41-
Full documentation and examples here: [react-spring.surge.sh](https://react-spring.github.io)
42+
*Durations and easings are the number one reason UI animation is hard*, and usually looks bad. We are so used to it that we don't question it any longer. We think it is just the way it is when we have to deal with curves, easings, time waterfalls, not to mention getting this all in sync.
4243

43-
# What others say
44+
Springs change that, they make animation easy and approachable, everything you do with them is fluid by default. Watch the next couple of minutes of [this video](https://www.youtube.com/embed/1tavDv5hXpo?controls=0&amp;start=370) in which Cheng Lou (the author of react-motion) explains it perfectly.
45+
46+
### What others say
4447

4548
<p align="middle">
4649
<img src="assets/testimonies.jpg" />
4750
</p>
4851

49-
# Used by
52+
### Used by
5053

5154
<p align="middle">
5255
<a href="https://nextjs.org/"><img width="285" src="assets/projects/next.png"></a>
@@ -56,28 +59,39 @@ Full documentation and examples here: [react-spring.surge.sh](https://react-spri
5659

5760
And [many others](https://github.com/drcmda/react-spring/network/dependents) ...
5861

59-
# Funding
62+
## Funding
6063

61-
If you like this project, consider helping out, ... all contributions are welcome as well as donations to [Opencollective](https://opencollective.com/react-spring) or [Patreon](https://www.patreon.com/0xca0a). You can make one off donations in crypto to 36fuguTPxGCNnYZSRdgdh6Ea94brCAjMbH (BTC).
64+
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: 36fuguTPxGCNnYZSRdgdh6Ea94brCAjMbH (BTC) or 0x6E3f79Ea1d0dcedeb33D3fC6c34d2B1f156F2682 (ETH).
6265

63-
## Contributors
66+
You can also support this project by becoming a sponsor. Your logo will show up here with a link to your website.
6467

65-
This project exists thanks to all the people who contribute.
66-
<a href="https://github.com/drcmda/react-spring/graphs/contributors"><img src="https://opencollective.com/react-spring/contributors.svg?width=890" /></a>
68+
## Gold sponsors
6769

68-
## Backers
70+
<a href="https://aragon.org/">
71+
<img width="300" src="https://wiki.aragon.org/design/logo/svg/imagetype.svg"/>
72+
</a>
6973

70-
Thank you to all our backers! 🙏
74+
## Sponsors
7175

72-
<a href="https://opencollective.com/react-spring#backers" target="_blank"><img src="https://opencollective.com/react-spring/backers.svg?width=890"></a>
76+
<a href="https://opencollective.com/react-spring/sponsor/0/website" target="_blank">
77+
<img src="https://opencollective.com/react-spring/sponsor/0/avatar.svg"/>
78+
</a>
79+
<a href="https://opencollective.com/react-spring/sponsor/1/website" target="_blank">
80+
<img src="https://opencollective.com/react-spring/sponsor/1/avatar.svg"/>
81+
</a>
7382

74-
## Gold sponsors
83+
## Backers
7584

76-
<a href="https://aragon.org/"><img width="300" src="https://wiki.aragon.org/design/logo/svg/imagetype.svg"></a>
85+
Thank you to all our backers! 🙏
7786

78-
## Sponsors
87+
<a href="https://opencollective.com/react-spring#backers" target="_blank">
88+
<img src="https://opencollective.com/react-spring/backers.svg?width=890"/>
89+
</a>
90+
91+
### Contributors
7992

80-
Support this project by [becoming a sponsor](https://opencollective.com/react-spring#sponsor). Your logo will show up here with a link to your website.
93+
This project exists thanks to all the people who contribute.
8194

82-
<a href="https://opencollective.com/react-spring/sponsor/0/website" target="_blank"><img src="https://opencollective.com/react-spring/sponsor/0/avatar.svg"></a>
83-
<a href="https://opencollective.com/react-spring/sponsor/1/website" target="_blank"><img src="https://opencollective.com/react-spring/sponsor/1/avatar.svg"></a>
95+
<a href="https://github.com/drcmda/react-spring/graphs/contributors">
96+
<img src="https://opencollective.com/react-spring/contributors.svg?width=890" />
97+
</a>

0 commit comments

Comments
 (0)