Skip to content

Animating while component enters the viewport and stops animating when exits the viewport.

Notifications You must be signed in to change notification settings

Trilochan20/next14-framermotion-animation

Repository files navigation

bun install

Then bun dev

bun dev

Open http://localhost:3000 with your browser to see the result.

  • add your own animation to app/component/ui/AnimationList.tsx

  • import the AnimatedDiv component and use it in app/page.tsx or any other component you create.

  • Pass the animation type in the <AnimatedDiv animationType="wiper"><some component\></AnimatedDiv>

  • import <Marquee></Marquee> and add children to use the component.

Demo url https://next14-framermotion-animation.vercel.app/

About

Animating while component enters the viewport and stops animating when exits the viewport.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published