Back to blocks
BlockeCommerceFree

Product Carousel Block React component

A featured product carousel: one product per slide with a big title, specs, price and shop button, photos that glide in, autoplay with filling progress bars (pauses on hover, focus or the pause button), swipe and drag, arrow keys and prev / next buttons.

About the Product Carousel Block component

Product Carousel Block showcases a handful of hero products, one at a time, at the top of a store or campaign page. Each slide gets a big title, a few specs, the price and a single shop button, and the photo glides in for a sense of motion.

The progress bars double as navigation and show how long each slide stays. Autoplay politely stops while someone hovers, focuses or presses pause, and on touch screens slides follow a swipe.

When to use it

Use it as a homepage hero, a launch showcase, or a 'best of' section with three to five products.

For a row of many products use the Related Products Block; for a single product spotlight use the Product Highlight Block.

Installation

Add the Product Carousel Block component to your project with the shadcn CLI. It lands in components/product-carousel-block.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/product-carousel-block

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Mini Cart Drawer
Free
Gift Card Block
Free
Product Filters Sidebar
Free
Order Summary Block
Free
Coupon Code Block
Free
Checkout Form Block
Free