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

05Snap-to-Background-Grid While Dragging

While an object is being dragged, once its edge comes within a set distance of an intersection on the faint background grid, it gets pulled the rest of the way onto that intersection before the pointer is even released (a different demo from 250's panel-snap-guides, which are dynamic alignment lines that appear against other panels' edges — this one snaps only to a fixed background grid, not to other objects).

Best forPlacing multiple icons at even spacing

nearestGridapplyPositionhopTo
Snap-to-Background-Grid While Dragging
Open in a new tab

05 Snap-to-Background-Grid While Dragging — Measured area 6.406% · moving frames 10/23Original by GODRICH · SCSS and React ship in the zip · Resize Handle UI — 9 Free-Transform Patterns

The post this demo lives in

Resize Handle UI — 9 Free-Transform Patterns - preview of all 9 demosResize Handle UI — 9 Free-Transform PatternsAmong nine resize handle patterns, one spins an object as its rotate handle arcs, one snaps scattered icons into a grid See all demos in this post

If you like this effect - similar demos