Skip to Content
snapgrid is a react-grid-layout v2 alternative built on dnd-kit. Drag, resize, repack, and drag between grids.

Compaction lab

60 fps

The same grid engine, under load. Drag any avatar and it repacks live, switch direction, and scale to 600 tiles. The frame rate holds whether you're moving a handful or hundreds.

Tiles

Compaction runs on react-grid-layout’s core packing. For very large grids, snapgrid also ships drop-in O(n log n) fast compactors. Avatars generated with DiceBear’s Lorelei by Lisa Wischofsky, licensed CC BY 4.0.