Components/effects

Animated Modal

A modal that springs in over a blurred backdrop, auto-cycling open and closed in the demo.

Free
Usage: paste this file into your project (e.g. components/animated-modal.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.