Good fit for
- Seasonal campaigns
- Product launches
- Featured collections
This commerce heroes pattern works best when its purpose is clear in the surrounding page hierarchy.
Open experiment
A commerce-first hero that presents one featured product, transparent promotional terms, written availability, and a clear route into the collection.
<header class="cmp-ecommerce-promotion-hero">
<div class="cmp-ecommerce-promotion-hero__copy">
<span>Weekend studio offer · ends Sunday</span>
<h1>The everyday carry set, now 25% less.</h1>
<p>
Weatherproof tote, modular pouch, and recycled notebook. Ships free within two business days.
</p>
<div class="cmp-ecommerce-promotion-hero__price">
<strong>$96</strong><del>$128</del><small>Tax calculated at checkout</small>
</div>
<a href="#featured-set">Shop the carry set <span aria-hidden="true">→</span></a>
</div>
<div class="cmp-ecommerce-promotion-hero__art" aria-hidden="true">
<i></i><b></b><span>3-piece set</span>
</div>
</header>
Validated in the lab
License: MIT License for open-source use, modification, and distribution.
Implementation field notes
The preview and source are only the starting point. Use these notes to decide where the component fits, preserve its accessibility contract, and verify the adapted result.
This commerce heroes pattern works best when its purpose is clear in the surrounding page hierarchy.
Related learning