GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Unmount exit (allow-discrete)

Clicking close doesn't unmount right away — class="is-exiting" goes on first, transition-behavior: allow-discrete delays the display switch, and the real state removal happens inside onTransitionEnd.

Best forClosing modals and dialogs, toast dismiss animations

allow-discreteonTransitionEndexit class
Unmount exit (allow-discrete)
Open in a new tab

02 Unmount exit (allow-discrete) — Measured area 22.772% · moving frames 10/23Original by GODRICH · SCSS and React ship in the zip · 9 CSS Animations in React Without Framer Motion

The post this demo lives in

9 CSS Animations in React Without Framer Motion - preview of all 9 demos9 CSS Animations in React Without Framer MotionA card fading in, a modal closing, a list item sliding away — usually that's CSS timed to when React mounts, unmounts, o See all demos in this post

If you like this effect - similar demos