Morphing button

controlsFreeMIT

A button that grows into an email field and confirms when the form is sent.

Adapted from Watermelon UI (MIT) and rewritten with keyboard support, labels and reduced motion.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/morphing-button.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • morphing-button.tsx