How to Morph an SVG using Framer Motion, Flubber.js and Nextjs

Olivier Larose on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateUI11 min

About this video

A tutorial on morphing one SVG shape into another using Flubber.js with Framer Motion inside a Next.js project. It covers preparing the SVG paths, a vanilla Flubber example, and a smiley face demo.

What you’ll learn

  • Prepare SVG paths so they can be morphed
  • Interpolate between two SVG shapes with Flubber.js
  • Animate an SVG morph with Framer Motion in a Next.js project