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

04Swipe to fling away

Press and drag sideways and the card tracks the pointer exactly; release past 72px and it flies off in that direction, short of it and it springs back.

Best forMobile notification trays you flick away with a thumb

setPointerCapturepointermovetranslateX(var(--dx))
Swipe to fling away
Open in a new tab

04 Swipe to fling away — Measured area 19.567% · moving frames 13/23Original by GODRICH · SCSS and React ship in the zip · Toast Notification UI: 9 Stacking Patterns

The post this demo lives in

Toast Notification UI: 9 Stacking Patterns - preview of all 9 demosToast Notification UI: 9 Stacking PatternsToast notification UI is what decides how those corner messages pile up and how they leave again. All nine run without a See all demos in this post

If you like this effect - similar demos