Ecommerce Hero 4 - Product spotlight with ratingPro

Split product hero with a large photo and thumbnail switcher on the left and the product name, star rating with review count, price, finish selector and add-to-cart buttons on the right. Use it to launch a single hero product on a homepage or landing page where shoppers can buy immediately.

About Ecommerce Hero 4

Split product hero with a large photo and thumbnail switcher on the left and the product name, star rating with review count, price, finish selector and add-to-cart buttons on the right. Use it to launch a single hero product on a homepage or landing page where shoppers can buy immediately.

Ecommerce Hero 4 is a pro ecommerce hero block for React, built on shadcn/ui and Tailwind CSS. It ships as 105 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • hero
  • product
  • split
  • rating
  • add-to-cart
  • ecommerce

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/ecommerce-hero-04

Dependencies installed automatically: lucide-react.

Uses: button, reveal, utils.

Usage

import EcommerceHero04 from "@/components/blocks/ecommerce-hero-04"

export default function Page() {
  return <EcommerceHero04 />
}

FAQ