react-tension

0.2.3 • Public • Published

Reveal elments smoothly on scroll with sophisticated tension-animation provided by react-spring.

NPM JavaScript Style Guide

🚀 Have a look at the example!

This Project is under development. Please join and contribute!

Beware: Until version 1.0.0 the API can and does change (constantly). Any (breaking-)changes are expressed in minor-updates and will be noted in the docs immediatedly.

Install

Install all dependencies via Yarn or NPM.

yarn add react-tension react-spring react react-dom

TransitionProvider

List of props:

Name Type Default Description
ScrolledChild React Element null required. Child, that gets normally scrolled.
AnimatedChild React Element null required. Child, that gets animated

Contributing

Every contribution is very much appreciated.

😍 If you like react-tension, don't hesitate to star it on GitHub.

License

MIT © AndreasFaust

/react-tension/

    Package Sidebar

    Install

    npm i react-tension

    Weekly Downloads

    1

    Version

    0.2.3

    License

    MIT

    Unpacked Size

    4.36 MB

    Total Files

    37

    Last publish

    Collaborators

    • andreasfaust