Morph animations

40 examples. Shapes and components that morph into each other: buttons into menus, toasts into pagination, icons into icons.

Morph animations: common questions

How do I morph one component into another?
Give both the same shared id (layoutId in Framer Motion, matchedGeometryEffect in SwiftUI) and animate size, radius and position together.
Icon swap or icon morph?
Morph when the two icons are related (play → pause); a quick cross-fade with scale is clearer for unrelated icons.

Morph animations by framework

More categories