Description
morphicons is a JavaScript library that morphs one SVG icon into another, so an icon can change shape smoothly instead of swapping abruptly. It works with stroke-based icon sets such as Lucide, Tabler and Heroicons, and with Material Symbols, in both stroked and filled styles. The site says any icon can morph into any other, including across different icon libraries and from outline to fill. Motion uses spring physics, and you can pick a spring feel such as smooth, snappy or bouncy, and adjust speed and stroke width. The library has zero dependencies and is about 7 KB gzipped, according to the listing. It provides bindings for React, Vue, Svelte, React Native and Astro, and it can be used from plain JavaScript. The React example imports a MorphIcon component and toggles a menu icon between an open and a close state, with aria-expanded set on the button. The site has a playground where you pick icons and watch them morph, a showcase and documentation. The source is public on GitHub.…
Highlights
- Morphs any SVG icon into any other
- Spring physics with adjustable feel
- Zero dependencies, about 7 KB gzipped
- React, Vue, Svelte, React Native and Astro
Ratings & Reviews
No ratings yet
Be the first to rate Morphicons.
People also visit
Morphicons FAQ
What is morphicons?
A JavaScript library for morphing one SVG icon into another with spring physics.
Is it free?
The source is public on GitHub, and the listing shows no paid plan.
How do I install it?
Run npm install morphicons, then import the component for your framework, such as morphicons/react.
Which icon sets work?
Stroke-based sets such as Lucide, Tabler and Heroicons, and Material Symbols, stroked or filled.
Which frameworks does it support?
React, Vue, Svelte, React Native and Astro, or plain JavaScript.
How big is it?
The listing says zero dependencies and about 7 KB gzipped.
What are the best Morphicons alternatives?
Popular alternatives to Morphicons include Animateicons, UseAnimations and Shape. See all Morphicons alternatives







