For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.
Best for: A masonry wall of mixed ratio photos whose details slide in on hover, filtered by signal and price band with a live piece count
When to use
- A catalog or collection page of items for sale, from a plain tile grid to one with filters and sort
- A similar items or latest arrivals row that pages through 4 tiles at a time with arrow buttons
- A single item quick buy panel with a size or finish picker beside add to bag and wishlist buttons
When not to use
- A page for one item with its gallery, variant picker and reviews: use the Size Picker Detail block
- A uniform grid with star ratings and an add to cart on every tile: use the Rated Product Grid block
- Dashboard or admin tiles for metrics, records or settings, with nothing for sale: use the Card blocks
- Departments or collections to browse into, with no per item price or buy control: use the Category Card blocks
- A full page for one item with its gallery, spec tables, reviews and related items: use the Product Detail blocks
Agent notes
- Every
productsentry needs animageRatioClassName; the photo is absolutely positioned, so the tile takes its height from that ratio class - The Signal filter matches
contentBadgelabel text (New, Trending, or any label containing left) and Price usespriceValue; use real fields - The wishlist heart stays hidden until a tile is hovered or focused unless
likedis set, andlikedProductslives in memory only ProductCardtakes no props and renders demo items defined in its own files; add a prop to pass in your catalog- Every
priceandcompareAtPriceis a preformatted dollar string; format amounts and currency before you pass them - Each page.tsx wraps
ProductCardin a paddedmin-h-svhwrapper; strip it when the block sits inside your storefront layout
https://web.dev.reui.io/blocks/ecommerce/product-card/product-card-6.mdget_block("product-card-6")npx shadcn@latest add @reui/product-card-6Shadcn Masonry Gallery Block
Masonry product gallery with hover-reveal detail overlay and filter or sort popover toolbar. Part of the ReUI Shadcn eCommerce Product Card blocks collection.
Image-led shop page: masonry columns of mixed-ratio photos revealing a product detail card on hover or focus, with discount badges, wishlist heart toggle, and a popover filter and sort bar. ReUI Badge, shadcn Popover, Select, Switch.
It is composed from Badge, Breadcrumb, Button, Field, Popover, Select, Switch, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Masonry Gallery Block
- Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
- Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
- Combine it with the other Shadcn eCommerce Product Card blocks to assemble a full screen instead of a single section.
All Shadcn eCommerce Product Card Blocks
The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.
- Apparel Wishlist Grid Apparel Product Grid with Wishlist Toggle and Discount Badges
- Colorway Catalog Ecommerce product grid with filters, sort, color swatches, and wishlist
- Quick Buy Card Quick-buy product card with image carousel, sale pricing, and size picker
- Related Products Similar products carousel of product cards with wishlist, discount and stock badges
- Featured Product Split Two-Column Product Card with Finish Selector and Wishlist
- New Arrivals Carousel Latest Products Carousel with Wishlist Toggle and Hover Add-to-Cart
- Rated Product Grid Filterable e-commerce product grid with sort, ratings, and wishlist
- Four-Column Catalog Four-Column Product Grid with Breadcrumb Header and Star Ratings
- Fashion Lookbook Grid Fashion Studio Product Grid with Hover-Reveal Details Panel
Related Shadcn eCommerce Block Categories
- Category Card (6) Category cards with featured products, banners, and subcategory navigation.
- Checkout (7) Checkout flows with shipping details, payment forms, and order confirmation steps.
- Comparison (6) Product comparison tables with side-by-side feature and specification layouts.
- Coupon (6) Coupon code input fields, discount badges, and promotional offer display blocks.
- Filter Sidebar (7) Filter and facet sidebars for refining product searches by price, size, and attributes.
- Product Detail (6) Product detail pages with image galleries, specifications, and purchase options.
All Shadcn Block Groups
Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.
- Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
- Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
- Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
- Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
- Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
- Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
- Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.
Frequently Asked Questions
When should I use the Masonry Gallery block?
Use it for a masonry wall of mixed ratio photos whose details slide in on hover, filtered by signal and price band with a live piece count.
The Product Card category fits:
- A catalog or collection page of items for sale, from a plain tile grid to one with filters and sort
- A similar items or latest arrivals row that pages through 4 tiles at a time with arrow buttons
- A single item quick buy panel with a size or finish picker beside add to bag and wishlist buttons
For a page for one item with its gallery, variant picker and reviews, use the Size Picker Detail block. For a uniform grid with star ratings and an add to cart on every tile, use the Rated Product Grid block. For dashboard or admin tiles for metrics, records or settings, with nothing for sale, use the Card blocks. For departments or collections to browse into, with no per item price or buy control, use the Category Card blocks. For a full page for one item with its gallery, spec tables, reviews and related items, use the Product Detail blocks.
What is the Masonry Gallery block built with?
Can I restyle the Masonry Gallery block?
How should I use Shadcn product card blocks in a real project?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.