Overview

The Cardinal system page heros are made up of different components that can be easily customized.


Usage

Hero Anatomy


Page heros can have up to 4 elements:

  1. Header Image
  2. Card Overlay
  3. Typography
  4. Actions

1. Hero Image

Example Hero Image, rocky seashore scene at sunset

Must be full width with a height of 237px.

2. Card Overlay

Example Hero Image, rocky seashore scene at sunset with a blank Card component overlay

The card overlay element is optional.

  • Border radius: 0
  • Z depth: 1dp

3. Typography

Example Hero Image, rocky seashore scene at sunset with a blank Card component overlay marked with informative numbers referenced by list below.

Reinforce brand presence with Cardinal typography.

  1. Page Title: Header 1
  2. Card Overlay Title: Header 3
  3. Callout Item: Display
  4. Descriptive Text: Body Small (Semibold)

4. Actions

Example of using a button as an action item on the hero component card overlay
Example of using links as an action item on the hero component card overlay
Example of using a dropdown as an action item on the hero component card overlay

Use the available actions to guide the user.

  1. Button
  2. Link
  3. Dropdown Menu

Grid Layout


Page Title and Card Overlays use the Cardinal 1D grid layout.

Note: On larger screens, Card Overlays should have a width specifically of either 4 or 5 columns.

Example of the hero layout as it relates to the Cardinal grid

Specifications


Align cards smaller than the maximum to the left margin and vertically centered to the maximum size card.

Hero specifications overview

Typography


Max lines: 2
Max character count: 18
Max lines: 2
Max character count: 58
Max lines: 1
Max character count: 17
Max lines: 3
Max character count: 144
Font weight: Semibold

Spacing


Use spacers for Card Overlay content and Page Title text treatment. For more information on spacing for page title text, see the Typography section.

Example describing the spacing between parts of the hero component

Secondary Style


Use the secondary page Hero style for child pages.

Secondary hero example
  1. Background: 196px fixed height
  2. Sub Title: Header 4
  3. Page Title: Header 1
  4. Breadcrumbs: Label Small
  5. Link: Link Style

Do's and Don'ts

Card Overlay Content


Use card overlays for small amounts of content.

Opacities & Gradients


Add opacities or color overlay to the hero background image.

Long Page Titles


Have wordy or long page titles. Be concise and if necessary, add details below the page hero.