Report a problem or share feedback← Catalog
Modal open / close
curatedfreetransitions/modal
Modal dialogs and full-overlay surfaces that scale up from center. Use when the surface is conceptually "on top of" the page rather than anchored to a trigger.
$
npx skills add Jakubantalik/transitions.dev # then ask: "apply the modal transition"Our notes
Scale-from-center modal open/close timings that feel native.- Source
- transitions.dev
- Kind
- transition
- Categories
- transition, modal
- Use as
- recipe — technique you apply to your own markup
- Applies to
- modal
- Motion
- on state · subtle · css · low cost · respects reduced motion
- Tags
- css
- Licence
- Free for unlimited personal/commercial use in your products; no republishing the collection. Pro (React/TS variants) $9/mo or $149 lifetime.
- Live demo
- transitions.dev
- Docs
- transitions.dev
Similar
Compare all 4 →- Motion presetsoc/motion-presetsdesign-infra's motion languages (still / quiet / lively / cinematic) as motion/react transitions, springs and variants (fadeUp, scaleIn, stagger, press, lift). Set PROJECT_MOTION to your DESIGN.md `motion:` so hand-written animations match the system.
- AnimatePresence modesmotion/animate-presence-modesAnimatePresence `mode` (sync / wait / popLayout): how to swap one view for another — tab panels, carousel slides, step wizards — without overlap jank. Free example (motion is MIT); copy and adapt the source from the example page.
- Exit animationmotion/exit-animationAnimatePresence exit: modals, toasts and removed list items animate OUT instead of vanishing. The fix for 'abrupt' close. Free example (motion is MIT); copy and adapt the source from the example page.