Ecommerce Hero 22

Pro

A clothing product hero where colour swatches swap the model photo and tint the whole panel to match the chosen colourway.

Shadcn Ecommerce Hero 22 block

Component data

ID
ecommerce-hero22
Access
pro
Created
Nov 18, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

Ecommerce Hero 22 block design & features

EcommerceHero22 is a colourway hero built with shadcn/ui and Motion. A tinted panel holds a heading, description, a row of colour swatches, a buy button with the price and a size guide button, with a full-height photo of the hoodie on the right.

Picking a swatch slides the matching model photo into place and fades the panel to a matching pastel tint, and the selected colour name updates next to the product name.

It suits hoodies, knitwear and other clothing sold in a few colours. The panel tints are fixed colours with their text colour set explicitly, so they look the same in light and dark mode, and with reduced motion the photo swaps without sliding.