SVG & Shape

Shape Morph

Also called Path Morphing, SVG Morph, MorphSVG, Shape Tweening

One vector shape smoothly turns into another shape.

Icon states, hero graphics

  • path d interpolation
  • mismatched point morph
  • multi-shape morph

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add a "Shape Morph" (also called path morphing or SVG morph) to [where].
One shape should smoothly turn into another, for example a pentagon pinching into a star, with its points gliding into place at an even, unhurried pace.
Give both shapes the same number of matching points so the morph stays clean without flicker, and play it once per state change rather than looping.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.