Layout Section

Layout sections facilitate the grouping of a text block with a content slot (which can hold images, cards, or videos) and its behavior on the breakpoints we manage.

Anatomy

A layout section is made up primarily of a text block and a content slot.

Layout Section Anatomy
  1. Content slot is a single element or group of elements that composes the content of the layout section and relates to the content of the text block. It could include one or more images, cards or one video. If there are multiple images or cards, there could be from one to four rows that will adjust according to the view-port.
  2. Title sets the topic for the layout section.
  3. Body gives more context. It is optional.
  4. CTA enforces the desired user action. Users can click to see more about the content presented. It is optional.
  5. Background defines the space of the layout section.

Usage

When to Use

Use the layout section to showcase content with a group of cards, images or a video. The layout section establishes a consistent behavior, standard spacing and sizing between them.

When Not to Use

Don’t use a layout section when you need to display a single card, or when you need to present and advertise content that differs from what is presented on the page. Use one of the card types or a flexible module instead.

Variants

Layout Section Variants
Variation
Purpose
Title
Body
CTA
Columns
Rows

2/3rd layout section

Use to display content with a text block, to give more context. This variation gives the same level of importance to the text block and the content. Also use this option to give “white” space to the layout.

With title

With body, no body

With CTA, no CTA

Cards: 1, 2, 3, 4 Images: 1, 2, 3, 4 Video: 1

Cards: 1, 2, 3, 4, 5, 6 Images: 1, 2, 3, 4, 5, 6 Video: 1

Full width layout section

Use to display content with a text block, present them to give more context. This variation gives the text block the primary level of importance and gives the content more space (width) to be displayed.

With title

With body, no body

With CTA, no CTA

Cards: 1, 2, 3, 4 Images: 1, 2, 3, 4 Video: 1

Cards: 1, 2, 3, 4, 5, 6 Images: 1, 2, 3, 4, 5, 6 Video: 1

Container

Spacing

Ensure that proper space is given between each item in the layout section. Besides the horizontal padding and gutter, the layout section has a top and bottom margin. Note that the horizontal and vertical spacing between each item (when having more than one card or image) will match the gutter of the grid (behavior per view-port).

Layout Section Spacing
layout section Spacing
layout section Spacing

Scale Down Behavior

The content slot of the layout section can manage from one to four columns of cards depending on the viewport.

  • XL: 1 to 4 Columns of cards
  • LG : 1 to 3 Columns of cards
  • MD : 1 to 2 Columns of cards
  • SM : 1 Column of cards

Also, the number of cards displayed in a row (and the number of columns in a layout section) will be closely related to the size of the screen and the breakpoint of the page. This means that the layout section will adapt to the view-port.

Use Case 1: Columns with Cards and Text Block - Type A

At the XL breakpoint, the layout section can display a max of three blocks per row; one text block and two cards.

layout section Case 1 XL Max Breakpoint
layout section Case 1 XL Min Breakpoint
XL min breakpoint
layout section Case 1 LG Max Breakpoint
LG max breakpoint
layout section Case 1 LG Min Breakpoint
LG min breakpoint
layout section Case 1 MD Max Breakpoint
MD max breakpoint
layout section Case 1 MD Min Breakpoint
MD min breakpoint
layout section Case 1 SM Max Breakpoint
SM max breakpoint
layout section Case 1 SM Min Breakpoint
SM min breakpoint

Use Case 2: Columns With Cards and Text Block - Type B

At the XL breakpoint, the layout section can display a maximum of three blocks per row; one text block and two cards.

layout section Case 2 XL Max Breakpoint
XL max breakpoint
layout section Case 2 XL Min Breakpoint
XL min breakpoint
layout section Case 2 LG Max Breakpoint
LG max breakpoint
layout section Case 2 LG Min Breakpoint
LG min breakpoint
layout section Case 2 MD Max Breakpoint
MD max breakpoint
layout section Case 2 MD Min Breakpoint
MD min breakpoint
layout section Case 2 SM Max Breakpoint
SM max breakpoint
layout section Case 2 SM Min Breakpoint
SM min breakpoint

Collapsed Behavior

When a group of cards or images takes the whole width of the layout section (full width variation) and there are multiple rows of cards, a “Show more” button appears at the bottom of the group so users are able to expand and display the rest of the card rows. Users can also collapse them again.

Collapsed Behavior

Themes

Case A: Images Only

layout section case A on dark theme
Dark
layout section case A on mid theme
Mid
layout section case A on light theme
Light

Case B: Outline Cards

layout section case B on dark theme
Dark
layout section case B on mid theme
Mid
layout section case B on light theme
Light

Case C: Fill Cards

layout section case C on dark theme
Dark
layout section case C on mid theme
Mid
layout section case C on light theme
Light

Case D: Blurbs

layout section case C on dark theme
Dark
layout section case D on mid theme
Mid
layout section case D on light theme
Light