Hero

This hero will start every page in the top-most section of a page. It appears directly under the navigation bars.

Anatomy

The hero can have up to eight items.

Secondary heros anatomy
  1. Title sets the topic for the hero and the content of the page.
  2. Body text gives context about the main topic of the page.
  3. Image enforces the content of the hero. Depending on the hero variation, it can be boxed in a slot or a background image for part of the hero content.
  4. CTAs enforces the desired user action. CTAs are optional. There could be no CTA, only a primary CTA; a primary and a secondary CTA; or a primary, secondary and tertiary CTA.
  5. Icon or logo image gives extra context on the content with the category or event it belongs to. Use brand icons and images with a 3:2 ratio where logos can be placed.
  6. Background defines the space of the card container.
  7. Content slot displays different types of elements depending on the content and purpose of the hero. It can contain an image, a list group, a form, or a card.

Usage

When to Use

Use a secondary hero on web-page to hook users and give them a positive first impression of the content of the page, making them scroll to explore more.

When Not to Use

Don’t use a secondary hero on family brand pages or social pages where there is a variety of content for the user to choose from, such as blog posts or research pages. Use a primary hero or a section with a text block instead.

Variants

There are two variations of the secondary hero, based on its image: full-bleed or boxed. Both can be adapted to the four breakpoints. The image should be set to fill and anchored to the top-right corner.

Secondary hero variant 1: 2/3 hero
Secondary hero variant 1: Slot hero
Secondary hero variant 1: image and slot hero
Variation
Purpose
Content
Background
Icon
CTA

Secondary 2/3 image hero

Use when the hero needs to have an image as the main focal point or when the image has a lot of details.

4:3 image ratio

Solid color

No icon

No CTAs; a primary; a primary and a secondary; a primary, a secondary and a tertiary

Slot hero

Use when the hero has the text block as the main focal point and there is secondary content to support it or when there is an immediate action needed from the user.

Boxed slot for content (image, general card, list group, form).

Solid color

With icon, no icon, with an image (logo)

No CTAs; a primary; a primary and a secondary; a primary, a secondary and a tertiary

Image and slot hero

Use when the hero needs an image as the main focal point and there is secondary content to support it or when there is an immediate action needed from the user.

Image as part of the background for the content slot and boxed slot for content (form, image, card, list group).

Image and solid color

No icon

No CTAs; a primary; a primary and a secondary; a primary, a secondary and a tertiary

Types

The slot hero is the only variant that has more than one type.

Slot Hero: Image

Use the content slot to contain an image with a 3:2 ratio.

Slot hero image variations: with an icon, with a logo, text block only

Slot Hero: General Card

Use the content slot to contain a general card.

Slot hero general card variants: with an icon, with a logo, text block only

Slot Hero: List Group

Use the content slot to contain a list group.

Slot hero list group variants: with an icon, with a logo, text block only

Slot Hero: Form

Use the content slot to contain a form.

Slot hero form variants: with an icon, with a logo, text block only

Image and Slot Hero: Form

Use the content slot to contain a form.

Image + Slot hero form variants: with an icon, with a logo, text block only

Image and Slot Hero: Image

Use the content slot to contain an image.

Image + Slot hero image variants: with an icon, with a logo, text block only

Image

Background and boxed images will take the height of the hero or the slot.

Image behavior on a hero

Container

Spacing

Ensure that proper space is given between each item in the container.

Spacing on Secondary 2/3 Image Hero: XL
Secondary 2/3 image hero: XL
Spacing on 2/3 Image Hero: LG
Secondary 2/3 image hero: LG
Spacing on 2/3 Image Hero: MD
Secondary 2/3 image hero: MD
Spacing on 2/3 Image Hero: SM
Secondary 2/3 image hero: SM
Spacing on Slot Hero: XL
Slot hero: XL
Spacing on Slot Hero: LG
Slot hero: LG
Spacing on Slot Hero: MD
Slot hero: MD
Spacing on Slot Hero: SM
Slot hero: SM
Spacing on Image and Slot Hero: XL
Image and slot hero: XL

In the case of the image and slot hero, the content slot is top aligned with a top padding of 40px. If the content slot is short (less than 516px in height), it will still be top aligned but with a top padding of 300px.

Spacing on Image and Slot Hero: XL Min height
Spacing on Image and Slot Hero: LG
Image and slot hero: LG
Spacing on Slot Hero: MD
Image and slot hero: MD
Spacing on Image and Slot Hero: SM
Image and slot hero: SM

Hierarchy

In the case of the image and slot hero, the content slot is top aligned with a top padding of 40px. If the content slot is short (less than 516px in height), it will still be top aligned but with a top padding of 300px.

Alignment

The alignment of components with the hero container or content at the same level of the page should follow a left-justified pattern. For both variants, the body will be top aligned to the title. For the Slot hero, the text block will be horizontally center aligned to the content slot. For the SM viewports, the CTAs will take the width of the page, and the image will adjust to the bottom of the hero taking the width of the page as well.

Alignment of the secondary 2/3 hero
Alignment of the slot hero
Alignment of the image + slot hero
How to align right the text block in the Slot hero

Do horizontally center align the text block with the content slot.

How not to align the text block in the Slot hero

Don’t align the text block to the bottom of the container.

How to treat the top padding of content slot when it has a short height

Do adapt the top padding to 300px when you have a short form in the content slot to avoid having it at the top of the hero and disconnecting it from the rest of the content.

How not to treat the top padding of content slot when it has a short height

Don’t keep the 40px top padding when you have a short form in the content slot, far from the text block content.

Sizing

The hero will adjust to the viewport size. The image will keep the height of the section between the viewport sizes.

Secondary 2/3 Image Hero

Sizes for the secondary 2/3 hero

Slot Hero

Sizes for the Slot hero

Image and Slot Hero

Sizes for the image and slot hero

Themes

Secondary 2/3 Image

Secondary 2/3 hero dark theme
Secondary 2/3 image hero on dark theme
Secondary 2/3 hero mid theme
Secondary 2/3 image hero on mid theme
2/3 hero light theme
2/3 image hero on light theme

Slot hero

Slot hero dark theme
Slot hero on dark theme
Slot hero mid theme
Slot hero on mid theme
Slot hero light theme
Slot hero on light theme

Image and slot hero

Image and Slot hero dark theme
Image and slot hero on dark theme
Image and Slot hero mid theme
Image and slot hero on mid theme
Image and Slot hero light theme
Image and slot hero on light theme