Masonry is a JavaScript grid layout library created by David DeSandro. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. The Masonry Pattern is makes Masonry available as a Pattern, with the advantage that it works well together with other Patterns..