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: Borderless tiles in 3 columns with star ratings, a linked review count and a full width Add to Cart button
When to use
- A collection or category page body of photo tiles with prices, sale strikethroughs and a wishlist save
- Comparing colorways through swatches, or buying from the listing with a hover size picker or cart button
- Editorial or lookbook edits whose tiles add a story and specs, or fade to an on model photo on hover
When not to use
- A listing with a sort menu, filter popover and breadcrumb header above the tiles: use the Rated Product Grid block
- Dashboard tiles for KPIs, people or records in an app, with no price or buy control: use the Card blocks
- A bordered panel surface with header, body and footer slots for content not for sale: use the Frame component
- A listing with its own heading, sort and filter toolbar, breadcrumb or carousel rail: use the Product Card blocks
Agent notes
handleAddToCartonly dispatches aCustomEventnamed reui:add-to-cart on window and sets no state, so the button shows no added feedback- Each product needs
ratingandreviewCount; the count links tohrefplus #reviews, so your product page needs that anchor - A product holds 1 or 2
categorieslinks; a second one adds a dot separator in the eyebrow row ProductGridtakes no props and mapsPRODUCTSfrom data.ts, where eachpriceis a preformatted string and everyhrefis a hash placeholder- The wishlist toggle only flips the local
likedProductsset seeded fromDEFAULT_LIKED_PRODUCT_IDS; persist it to your own wishlist store - Each page.tsx adds a
min-h-svhmain andProductGridsetsmax-w-6xlwith its own padding; drop both inside your storefront layout
https://web.dev.reui.io/blocks/ecommerce/product-grid/product-grid-3.mdget_block("product-grid-3")npx shadcn@latest add @reui/product-grid-3Shadcn Components in the Add-to-Cart Grid Block
Dependencies
- cn
Shadcn Add-to-Cart Grid Block
Frameless ecommerce product grid with per-card Add to Cart and hover wishlist toggle. Part of the ReUI Shadcn eCommerce Product Grid blocks collection.
Frameless ecommerce product grid for shop and category pages: image tiles with full-width Add to Cart, hover-reveal wishlist toggle, category links, sale badges, star rating, and strikethrough price. Uses ReUI Badge, Rating, shadcn Item, Button.
It is composed from Badge, Button, Item, Rating, so every part of it is a primitive you can restyle with your own design tokens.
What You Can Build With the Add-to-Cart Grid 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 Grid blocks to assemble a full screen instead of a single section.
All Shadcn eCommerce Product Grid 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.
- Swatch Swap Grid Ecommerce Product Grid with Color Swatches, Hover Wishlist, and Sale Price Badges
- Stacked Panel Grid Frame-Panel Product Card Grid with Color Swatch Image Swap and Wishlist Toggle
- Numbered Story Grid Editorial product grid with numbered horizontal chapter tiles, story line and 3-up specs
- Quick Size Grid Ecommerce product grid with hover quick-buy panel and in-stock-aware size picker
- Shop-the-Look Grid Apparel 2x2 product grid with hover lifestyle image cross-fade and expanding color swatch pill
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 Card (10) E-commerce product cards with images, pricing, variants, and add-to-cart actions.
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 Add-to-Cart Grid block?
Use it for borderless tiles in 3 columns with star ratings, a linked review count and a full width Add to Cart button.
The Product Grid category fits:
- A collection or category page body of photo tiles with prices, sale strikethroughs and a wishlist save
- Comparing colorways through swatches, or buying from the listing with a hover size picker or cart button
- Editorial or lookbook edits whose tiles add a story and specs, or fade to an on model photo on hover
For a listing with a sort menu, filter popover and breadcrumb header above the tiles, use the Rated Product Grid block. For dashboard tiles for KPIs, people or records in an app, with no price or buy control, use the Card blocks. For a bordered panel surface with header, body and footer slots for content not for sale, use the Frame component. For a listing with its own heading, sort and filter toolbar, breadcrumb or carousel rail, use the Product Card blocks.
What is the Add-to-Cart Grid block built with?
Can I restyle the Add-to-Cart Grid block?
How should I use Shadcn product grid 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.