0.2.4 • Published 2 years ago
motion-pack v0.2.4
MotionPack
Simple React wrappers to add animations to your components!
Install
npm install motion-packReveal
import { Reveal } from "motion-pack"
return (
<Reveal>
<p>this text will be animated with reveal effect!</p>
</Reveal>
)Reveal Props
| Name | Value |
|---|---|
| startingHeight | number |
| duration | number |
| ease | string |
| fade | string |
| delay | number |
startingHeightis the initial height (in pixels) from which the animation begins.durationis the duration (in seconds) of the reveal animation.easeis the easing function for the animation, determining the motion curve.fadeControls whether the animation fades in (0 to 1 opacity) or out (1 to 0 opacity).delayis the delay (in seconds) before the animation begins.
MORE TO COME SOON!!
0.2.1
2 years ago
0.2.0
2 years ago
0.1.8
2 years ago
0.1.9
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.4
2 years ago
0.1.7
2 years ago
0.1.0
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.1
2 years ago