DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
Category Card6
Checkout7
Comparison6
Coupon6
Filter Sidebar7
Product Card10
Product Detail6
Product Grid6
  • Swatch Swap Grid
  • Stacked Panel Grid
  • Add-to-Cart Grid
  • Numbered Story Grid
  • Quick Size Grid
  • Shop-the-Look Grid
Receipt6
Review6
Shopping Cart7
Wishlist6
Shop Hero8

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

  • handleAddToCart only dispatches a CustomEvent named reui:add-to-cart on window and sets no state, so the button shows no added feedback
  • Each product needs rating and reviewCount; the count links to href plus #reviews, so your product page needs that anchor
  • A product holds 1 or 2 categories links; a second one adds a dot separator in the eyebrow row
  • ProductGrid takes no props and maps PRODUCTS from data.ts, where each price is a preformatted string and every href is a hash placeholder
  • The wishlist toggle only flips the local likedProducts set seeded from DEFAULT_LIKED_PRODUCT_IDS; persist it to your own wishlist store
  • Each page.tsx adds a min-h-svh main and ProductGrid sets max-w-6xl with its own padding; drop both inside your storefront layout
Markdownhttps://web.dev.reui.io/blocks/ecommerce/product-grid/product-grid-3.md
MCPget_block("product-grid-3")
Installnpx shadcn@latest add @reui/product-grid-3
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Add-to-Cart Grid Block

  • BadgeReUI
  • Button
  • Item
  • RatingReUI

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?

Add-to-Cart Grid uses Badge, Button, Item, Rating. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Add-to-Cart Grid block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn product grid blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
PreviousStacked Panel GridNextNumbered Story Grid

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. eCommerce
  3. Product Grid
  4. Add-to-Cart Grid
MarkdownShare

Shadcn Add-to-Cart Grid

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.