morphing-icons
Back to list

raphaelsalaja/morphing-icons

Morphing Icons

GitHub

Build icon components that morph between SVG shapes with smooth, line-based transformation.

351 installsMotionVisualFrontend4 demos

Real-world examples

Live HTML demos for this skill — rendered directly in the page. 4 examples.

  1. 01

    Any icon → any icon

    Click a target: the hero morphs through shared 3-line SVG coordinates — real shape transforms, not crossfades.

  2. 02

    Grouped spring rotation

    Plus↔cross and arrow family share groups so rotation springs; switching out of a group jumps rotation instantly.

  3. 03

    Collapsed unused lines

    Check, minus, and equals keep exactly three lines — extras collapse to an invisible center point so morphs stay continuous.

  4. 04

    Toolbar control morphs

    Play/pause, mute, and menu/close toggle as morphing icons with round caps, aria-hidden SVGs, and reduced-motion respect.

More from raphaelsalaja