Ecommerce Hero 28

Pro

A light product photo inside a thin frame panel with a centred serif sale title, a discount that counts up, a ticking countdown, an outlined button and a copyable discount code.

Shadcn Ecommerce Hero 28 block

Component data

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

Ecommerce Hero 28 block design & features

EcommerceHero28 is a seasonal sale hero built with shadcn/ui and Motion. A bright still-life photo sits inside a framed panel, with a thin border and padding around it like a mounted print, and a caption row beneath for the shop name, a discount code and the delivery threshold.

A centred serif title, a discount line whose percentage counts up on load, a countdown that ticks down to the end of the sale and an outlined button sit directly on the image. A light wash over the photo keeps the dark type crisp. The discount code in the caption row copies to the clipboard and briefly shows a confirmed state.

It suits shop sales, seasonal collections and gift guides. The sale length, discount, code and copy are props, and reduced-motion visitors see the final discount without the count-up.