How to Make a Split Vignette Effect using Framer Motion and Nextjs

Olivier Larose on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI9 min

About this video

A tutorial on building a split image vignette animation using the CSS clip-path value, animated with Framer Motion in Next.js. It walks through common issues with the useState and useAnimate hooks and how to fix them.

What you’ll learn

  • Build a split image vignette layout in Next.js
  • Animate a CSS clip-path with Framer Motion
  • Fix position and state issues when animating with useAnimate