Morphicons

Morphicons lets you smoothly animate stroke-based SVG icons between states with spring physics, automatic rotation, and lightweight web components.

,

Explore Website icon


Loading Website

Morphicons

Morphicons is a lightweight icon animation library that lets developers smoothly transform one stroke-based SVG icon into another. The project supports popular icon sets such as Lucide, Tabler, Heroicons, Iconoir, and other compatible stroke-based icons.

The main idea is to make icon transitions feel natural without requiring designers or developers to define how each icon should rotate or transform manually. Morphicons uses mathematical shape alignment and spring physics to determine the transition automatically. For example, a menu icon can smoothly transform into a close icon, while directional icons can naturally rotate during the transition.

The library is designed for modern web and application interfaces, with support for React, Vue, Svelte, React Native, Astro, and plain web components. It also provides controlled and imperative animation modes, accessibility defaults, SSR support, and optional adapters for SVG markup, CSS masks, and canvas-based interfaces.

From a UI/UX perspective, Morphicons is useful as a reference for micro-interactions, animated icons, navigation transitions, interface motion, SVG animation, and motion-driven UI feedback. Its playground also makes it easy to experiment with different icon combinations, spring behaviours, and stroke settings before implementing them in a product.



UIUXshowcase Logo 2026

Stay in the loop.

Your subscription could not be saved. Please try again.
Your subscription has been successful.