Back to blocks
BlockeCommerceFree

Related Products Block React component

A 'You may also like' product row: tabs for similar items and complete-the-setup picks, a snap-scrolling carousel with arrow buttons and a scroll progress bar, sale and new badges, wishlist hearts, quick add on hover with a running bag count, prices and ratings.

About the Related Products Block component

Related Products Block keeps shoppers browsing after they've seen a product. Two tabs separate 'more like this' from 'what goes with it', and a smooth snap carousel shows four products at a time on desktop and a swipeable row on phones.

Quick add puts items in the bag without leaving the page, the bag count confirms it, and the heart saves products for later. Sale badges and ratings help people decide at a glance.

When to use it

Use it under a product page, in the cart, on an order confirmation page or anywhere you show recommendations.

For a bundle with a combined price use Frequently Bought Together; for a big hero carousel use the Product Carousel Block.

Installation

Add the Related Products Block component to your project with the shadcn CLI. It lands in components/related-products-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/related-products-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Product Quick View Block
Free
Trust Badges Block
Free
Checkout Form Block
Free
Promo Banner Block
Free
Order Summary Block
Free
Category Grid Block
Free