Morph Shape
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-morph-shapeAbout this component
On hover, the button morphs from a pill shape to a circle: the width collapses and border-radius transitions to 50%. The text label fades out and a decorative symbol fades in with a spring-bounce entrance. Both transitions are CSS-only.
Triggers
- Hover
- State change
Techniques
- CSS transition
- border-radius
Difficulty
Beginner
Accessibility
Reduced motion
Shape transition disabled under prefers-reduced-motion; button remains functional.
Use it in anything you build, commercial and client work included. Licence