Ecommerce Hero 2 - Full-bleed campaign image

Edge-to-edge campaign photograph with gentle scroll parallax, a centered headline and shop buttons, and a row of category links beneath.

About Ecommerce Hero 2

Edge-to-edge campaign photograph with gentle scroll parallax, a centered headline and shop buttons, and a row of category links beneath.

Ecommerce Hero 2 is a free ecommerce hero block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 90 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.

  • ecommerce
  • hero
  • full-bleed
  • campaign
  • parallax

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-02

Dependencies installed automatically: lucide-react, motion.

Uses: button, reveal, use-reduced-motion, utils.

Usage

import EcommerceHero02 from "@/components/blocks/ecommerce-hero-02"

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

FAQ