Some nice animations to use with [AOS](https://github.com/michalsnik/aos).
npm install aos-animations
Some nice animations to use with AOS.
0. Install AOS following their instructions (https://github.com/michalsnik/aos).
1. Install our package with:
yarn add aos-animations or npm i --save aos-animations
2. Add css and js files to your html file:
`` html
...
`
or import to your js file:
` js
import 'aos-animations/dist/animations.min.css';
import 'aos-animations/dist/animations.min.js';
`
3. Start using!
You will need to add the data-aos attribute to the element you want to animate and then specify the animation you would like to use. Our animations support all the configurations you can do with AOS such as changing delay, easing and duration (more here).
Example:
` html
`
#### Example with some tweekings:
` html
`
| Animation | data-aos |tr-lr
|--------------------------------|------------|
| Text reveal from left to right | |tr-bt
| Text reveal from bottom to top | |tr-tb
| Text reveal from top to bottom | |fi
| Fade in | |fi-u
| Fade in up | |fi-d
| Fade in down | |fi-l
| Fade in left | |fi-r` |
| Fade in right |