Morphing Icon
Morphing Icon: An animated micro-interaction wrapper that smoothly morphs between two icon states with coordinated rotation, scale, and cross-fade transitions. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Morphing Icon
npx motion-ui-skill add morphing-iconComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxmotionreacttailwind-merge
Source files
Morphing Icon
An animated micro-interaction wrapper that smoothly morphs between two icon states with coordinated rotation, scale, and cross-fade transitions.
Install
npx motion-ui-skill add morphing-icon
Dependencies
clsxmotionreacttailwind-merge
Usage
"use client";
import { MorphingIcon as MorphingIcon } from "@/components/craft/morphing-icon";
export function Example() {
return (
<div className="p-6">
<MorphingIcon />
</div>
);
}