You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
@@ -9,28 +9,30 @@ is an element to element animation orchestrator for React.js ✨
9
9
10
10
[](https://yubaba.netlify.com/?selectedKind=yubaba-examples%2FParentChild%2FEmailThreads&selectedStory=Default&full=0&addons=1&stories=1&panelRight=1&addonPanel=storybook%2Fnotes%2Fpanel)
11
11
12
+
## Why yubaba?
13
+
14
+
`yubaba` is as much of a _platform_ as it is an **orchestrator**.
15
+
It comes with prebuilt animations you can drop in and start using immediately,
16
+
such as [ConcealMove](https://yubaba.netlify.com/?selectedKind=yubaba%2FConcealMove&selectedStory=TargetHeight&full=0&addons=1&stories=1&panelRight=1&addonPanel=storybook%2Fnotes%2Fpanel) and [RevealMove](https://yubaba.netlify.com/?selectedKind=yubaba%2FRevealMove&selectedStory=TargetHeight&full=0&addons=1&stories=1&panelRight=1&addonPanel=storybook%2Fnotes%2Fpanel) which together can [create an awesome user experience](https://yubaba.netlify.com/?selectedKind=yubaba-examples%2FParentChild%2FEmailThreads&selectedStory=Default&full=0&addons=1&stories=1&panelRight=1&addonPanel=storybook%2Fnotes%2Fpanel)!
17
+
18
+
But even better you can create _custom_ animations!
19
+
Using the same [internals](#collector) the [prebuilt animations use](https://github.com/madou/yubaba/tree/master/packages/yubaba/src/animations),
20
+
it comes with a first class customization experience for you to do,
21
+
well,
22
+
anything!
23
+
12
24
## Installation
13
25
14
26
```bash
15
-
npm install yubaba --save
27
+
npm install yubaba emotion --save
16
28
```
17
29
18
30
or
19
31
20
32
```bash
21
-
yarn add yubaba
33
+
yarn add yubaba emotion
22
34
```
23
35
24
-
## Motivation
25
-
26
-
Complex page transitions are becoming more common on the web but we're still at a point where we need to write a lot of boilerplate to make it happen,
27
-
worse yet disjointed parts of our apps needing to know about each other to make it all work.
28
-
29
-
Yubaba tries to solve this by allowing disjointed parts of your app define what animations they want to happen when a matching partner is found,
30
-
without explicit knowledge of each other.
31
-
32
-
See usage and examples for a deeper look at this.
33
-
34
36
## Examples
35
37
36
38
-[All examples](https://yubaba.netlify.com)
@@ -161,7 +163,7 @@ import Baba from 'yubaba';
161
163
162
164
Used to explicitly mark the focal element,
163
165
only a handful of animations require this component to be used,
0 commit comments