Shadcn Masonry Components

A masonry layout for galleries, feeds and card walls, with responsive columns by container width or minimum column width, balanced or sequential ordering, items of any height, load more and infinite scroll, and a soft enter animation. Styled with shadcn/ui theme tokens. Browse our collection of 9 Shadcn Masonry variants.

Basic

Columns and gap

3
12px

Minimum column width

Drag the handle to fit more or fewer columns

Balanced and sequential ordering

Each tile goes to the shortest column, so columns end at a similar height.

Infinite scroll

Testimonials wall

Loved by product teams

Thousands of teams build faster with our components.

Landing page

Notes board

Notes

6 notes

Productivity app

Inspiration feed

Social feed

Gallery with lightbox

Photo gallery
Unlock premium components
Get full control of shadcn/ui components, blocks and instances, including future additions.

Explore Shadcn Blocks

Ready-made page sections built with the same components.

View all blocks