2.4.1 β€’ Published 5 years ago

yubaba v2.4.1

Weekly downloads
33
License
MIT
Repository
github
Last release
5 years ago

yubaba πŸ§™βœ¨

/juːbaːba/ out of the box animated experiences for React.js πŸ§™βœ¨

npm npm bundle size (minified + gzip)

What is yubaba???

It's all about ✨animation over state transitions ✨it can help with:

Installation

yubaba has a peer dependency on emotion for some of the more advanced animations.

npm install yubaba react@^16.4.x react-dom@^16.4.x emotion@^10.x.x --save

or

yarn add yubaba react@^16.4.x react-dom@^16.4.x emotion@^10.x.x

Tip - Both es and commonjs modules are provided in the package. Make sure to consume the es modules for their tree shaking ability!

Usage

import Animator, { Move } from 'yubaba';

({ isLarge }) => (
  <Animator triggerSelfKey={isLarge}>
    <Move>{anim => <div {...anim} className={isLarge ? 'large' : 'small'} />}</Move>
  </Animator>
);

Next steps

2.4.1

5 years ago

2.4.0

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago

0.0.1-beta.1

6 years ago