@asad_200/animations
v1.0.1
Published
Animations for Asad
Downloads
247
Readme
@asad_200/animations
Animation utilities for React, powered by Framer Motion.
Installation
npm install @asad_200/animations framer-motionComponents
FadeIn
Simple fade-in animation.
import { FadeIn } from '@asad_200/animations';
const MyComponent = () => (
<FadeIn>
<h1>Hello World</h1>
</FadeIn>
);Hover3D
Adds a 3D tilt effect on hover.
import { Hover3D } from '@asad_200/animations';
const MyCard = () => (
<Hover3D>
<div className="card">Hover me!</div>
</Hover3D>
);Other Animations
SlideInSlideTopSlideBottomSlideLeftSlideRightScaleInSectionSlideTop
Peer Dependencies
react>= 18framer-motion>= 10
