Overview
I love the small animations that make a product feel premium without anyone noticing, like the icons on my Android phone: the menu that rotates into an X, the play button that becomes pause. They transform rather than swap.
I wanted to see if Claude could help me build that, with a twist: every icon should be able to become any other, by actually changing the underlying shapes rather than using animation tricks.
The result: 20 icons, any of which can morph into another, in about 30 minutes with Claude.
The boundaries
The first attempt was what I expected: icons that fade in and out. Technically correct, but with no sense of transformation. I wanted the lines to move, not fade.
“Every icon uses exactly three SVG lines. Icons that need fewer collapse the extras to invisible points, so any icon can morph into any other.”
Some icons mapped naturally: a cross is a plus rotated 45°. Others took more creativity, like the checkmark, which uses two lines and collapses the third.
Rotation groups
Clicking through the transitions, most looked good but some felt wrong. Arrow-right to arrow-down should be a 90° turn, yet it was still morphing.
So I gave Claude the idea of rotation groups: icons that share coordinates and differ only by angle rotate instead of morphing.
Cross-group morphs
Between groups, the lines travel through coordinate space, and that's where it feels like magic: you watch one shape become another. These are my favourites.
Menu → Close
Plus → Check
Arrow → Check
Menu → Arrow
Chevron → Close
Testing tool
I asked Claude for a tool to test sequences of transitions. It made feedback easy: I could point at a sequence that felt wrong and explain why.
Select icons below to build a sequence
Reflections
The architecture Claude built is elegant: three lines per icon, rotation groups for matching shapes, and coordinate morphing for everything else.
But Claude couldn't tell when something looked wrong. The idea that arrows should rotate rather than morph had to come from me. It optimised for working rather than feeling right, until I watched the transitions and described what felt off.
Play with it, notice what's wrong, describe it, repeat.
