Hero spaces are a communication tool to set expectations for your user. This component is widely used on website homepages and specifically designed landing pages. The component requires high quality, unique imagery that contextualizes and provides value for the user. Hero spaces also have a content block that overlays the image that includes any combination of a heading, subtext, call to action, and visual image caption.
The best hero spaces convey emotion, build trust, and engage users. If this is not your intended goal, you may frustrate your user and waste valuable screen real estate.
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/hero-spaces.scss#L16
Hero copy. Kielbasa buffalo doner fatback sirloin prosciutto dolor ex pariatur meatball magna.
Call To Action<!-- hero -->
<div class="c-hero o-media-overlay">
<div class="c-hero__media o-media-overlay__media">
<img class="o-media-overlay__image" src="https://picsum.photos/2560/1024" alt="Students in class." />
<div class="o-media-overlay__image-overlay u-image--5x2" aria-hidden="true" focusable="false">
<!--overlay-->
</div>
</div>
<div class="c-hero__content o-media-overlay__content">
<h1 class="c-hero__title">Hero Title</h1>
<p class="c-hero__copy">Hero copy. Kielbasa buffalo doner fatback sirloin prosciutto dolor ex pariatur meatball magna.</p>
<a class="c-button" href="#">Call To Action</a>
</div>
</div>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/hero-spaces.scss#L79