Ecommerce Hero 16 block design & features
This ecommerce hero launches a single product with the buying controls right beside the photo. The left half holds the brand, the product name and price, a short description, a row of round colour swatches, a size picker and a full-width add to bag button. Delivery and returns notes sit under the button, and a three-column spec list closes the panel. It is built with Shadcn UI and Motion.
The right half is a full-bleed photo of the hoodie in the chosen colour. Every colour photo loads up front, so picking a swatch crossfades straight to it, and a small label and progress dashes on the photo show which colour is in view. The photo drifts and zooms very slowly the whole time. On load the hero steps through each colour once and settles back on the first, so the range is visible before anyone clicks.
Sold-out sizes are struck through and cannot be chosen. Adding to bag swaps the button label for a short confirmation naming the colour and size, then resets after a moment.
The brand, name, description, price, colour variants with their swatches and photos, sizes, sold-out sizes, specs, button labels, delivery and returns text, and the auto-cycle timing are all props. On phones the photo stacks above the panel with the brand over it. With reduced motion the drift and the opening colour cycle are skipped.
