masonry-snap-grid-layout

A performant, responsive masonry layout library with smooth animations, dynamic columns, and zero dependencies.

rectpackr-layout

A web component that creates layouts by packing HTML elements as rectangles using a best-fit 2D strip-packing algorithm. Automatically measures dimensions and handles mixed content.