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

05Rubber-band drag close — a drag distance value that meets growing resistance past a threshold

As the drag distance value increases, the panel's movement follows a resistance curve where the ratio of travel shrinks, and once that distance value crosses a threshold the remaining distance value collapses at once to the closed position.

Best forA touchscreen cart panel, a mobile sheet

rubberbandTHRESHOLDMAX_PULL
Rubber-band drag close — a drag distance value that meets growing resistance past a threshold
Open in a new tab

05 Rubber-band drag close — a drag distance value that meets growing resistance past a threshold — Measured area 8.522% · moving frames 16/23Original by GODRICH · SCSS and React ship in the zip · Cart Drawer UI Patterns: 9 Motion Techniques

The post this demo lives in

Cart Drawer UI Patterns: 9 Motion Techniques - preview of all 9 demosCart Drawer UI Patterns: 9 Motion TechniquesOne panel overshoots its open position before a spring curve settles it, one drag distance meets growing resistance past See all demos in this post

If you like this effect - similar demos