Back to blocks
BlockeCommerceFree

Frequently Bought Together React component

A bundle builder for product pages: the current product plus add-ons joined by plus signs, each toggled with a check, greyed out when skipped, with bundle discount tiers, a counting total, savings and an Add all to cart button that confirms the items added.

About the Frequently Bought Together component

Frequently Bought Together turns the products people already buy together into a one-click bundle. The current product leads the row and the add-ons follow, each with a check that shoppers can turn off.

Bundle discount tiers reward adding more, and the total counts up or down as items are toggled, so the saving is easy to see. One button adds everything chosen to the cart and confirms how many items went in.

When to use it

Place it on product pages below the buy box, using pairings from your order data such as accessories, refills or items from the same collection.

Avoid it when the add-ons are unrelated or much more expensive than the main product; a bundle that feels random lowers trust in the recommendations.

Installation

Add the Frequently Bought Together component to your project with the shadcn CLI. It lands in components/frequently-bought-together.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/frequently-bought-together

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Recently Viewed Products
Free
Size Guide Modal
Free
Wishlist Drawer
Free
Sticky Add to Cart Bar
Free
Back-in-Stock Notify
Free
Write a Review Form
Free