design-infraGitHub
Report a problem or share feedback← Catalog

Path morphing

free

motion/path-morphing

An example of creating smooth SVG path morphing animations with Motion for React.

state — mediumrecipeRefinedTrustworthyPlayful
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-path-morphing

npm deps: motion

Path morphing preview
Source
Motion (motion.dev)
Kind
transition
Categories
transition
Use as
recipe — technique you apply to your own markup
Applies to
illustrationbutton
Motion
on state · medium · motion · medium cost
Tags
motion, useMotionValue, useTransform
Licence
motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
Live demo
motion.dev
Docs
motion.dev