Morphicons
morphicons.com · Components · Open source
Smoothly morph one SVG icon into another, like a menu icon turning into an X, with spring physics.
What it is
An npm package that animates between any two icons, across sets like Lucide, Tabler, Heroicons and Material Symbols, outlined or filled. The homepage is a playground where you pick icons and tune speed, stroke and spring style. It works in React, Vue, Svelte, React Native, Astro and plain JavaScript with no extra dependencies.
Is it for you?
- Made for
- Front-end developers who want animated icon toggles without making each animation by hand.
- You need
- Npm and a JavaScript framework, or plain JS
- Price
- Open source (MIT)
What you can do with it
- Animate a hamburger menu into a close icon
- Morph a play button into pause
- Try icon pairs in the playground before adding them


