Animation
Shape toggle morph icon
A single filled icon flips between two shapes only when clicked, its outline flowing directly from one silhouette into the other and its color crossfading to match, then holding until clicked again.
Using Shape toggle morph icon
A single filled icon flips between two shapes only when clicked, its outline flowing directly from one silhouette into the other and its color crossfading to match, then holding until clicked again.
Try the live preview with a pointer and keyboard, then check focus visibility and the narrow layout in your own page. Use the plate number or slug when asking your coding agent to fetch this component.
Props: shapeA, shapeB, colorA, colorB, size
Which frameworks are available?
The catalog lists these versions: react, vue, svelte, astro, html. The live preview on this page runs React.
How do I access the implementation?
The preview and component description are public. Sign in with an authorized account to open the code, framework versions and installation panel.