Info unit groups

Info unit groups are generally used to provide brief context as they lead users from a parent page (landing pages, sublanding pages, and browse pages) to additional content on a child or sibling page. Info units provide the ability to create content with multicolumn layouts. There are two types: image and text, or text only.

Image and text

Image and text components consist of an image, plus a heading, short descriptive text, and call to action. There are three layouts that allow you to pair text with images: 25/75, 50/50, and 33/33/33 components.

25/75 image and text component

Info unit group: example of 25/75

The 25/75 image and text component is used to draw the user’s eye to key information and navigation links, and aid comprehension by pairing content with illustration/imagery.

When used in conjunction with 50/50 text components, it can help create a hierarchy of child pages or other content on the page, or can help feature a particular link over others.

The 25/75 image and text component is the only format where the format name, 25/75, refers to how each individual unit it laid out, not to how multiple units are laid out.

When to use

  • When a call-to-action, leading users to a deeper page in the section, needs a visual highlight on the page
  • When an image or illustration helps users better understand the purpose of content
  • Can be used for an even or odd number of items and may imply a hierarchy of information given the list style format

When other options are better

  • When content doesn’t require imagery
  • When there are multiple paragraphs of copy

Specs

diagram of the 25/75 image and text module with 30px of spacing shown

  • Imagery: 1:1 ratio, may be illustration or photography
  • 150px wide for 901+ px breakpoint and 130 px wide for 900 px breakpoint and below
  • Padding: 30px padding for imagery across responsive sizes
  • Headings: H2-4 can be used

50/50 image and text component

Image showing layout of a 50/50 image and text component

The 50/50 image and text component is used to call attention to linked content on a page. At larger breakpoints, this component has a two column layout to utilize extra screen real estate.

The 50/50 text component is a variation of the 50/50 image and text. The text-only version does not use imagery.

When to use

  • When a call-to-action, leading users to a deeper page in the section, needs a visual highlight on the page
  • When an image or illustration helps users better understand the purpose of content
  • Ideally, when an even number of these components can be featured together
  • To help establish a hierarchy of linked content on this page

When other options are better

  • When content doesn’t require imagery
  • When there are multiple paragraphs of copy

Specs

  • Imagery: 16:9 ratio, recommend 1600 x 900 pixels to account for retina displays
  • Headings: H2-4 can be used
  • Body copy: Avenir paragraph
  • At breakpoints below 601: Heading sizes H3 and above automatically drop down one level and the mobile link style is used for the call to action link(s).

33/33/33 image and text component

Image of a 33/33/33 image and text component

When to use

  • Ideally, when a group of these components can be featured together in multiples of three (3, 6, 9, etc.)
  • When an image or illustration helps users better understand the purpose of content

When other options are better

  • When the number of components would be better featured in multiples of 2, use the 50/50 text component instead
  • When headings are too long for the narrower width, for example, when they break to 3 lines or more
  • When content doesn’t require imagery
  • When there are multiple paragraphs of copy

Specs

  • Imagery: 1:1 ratio, may be illustration or photography
  • 150px wide for 901+ px breakpoint and 130 px wide for 900 px breakpoint and below
  • Headings: H2-4 can be used

Text only

Text components consist of a heading, short descriptive text, and call to action. There are two types: 50/50 and 33/33/33.

50/50 text component

Info unit group: example of half width link blob

When to use

  • Ideally, when an even number of these components can be featured together

When other options are better

  • When the number of components would be better featured in multiples of 3, use the 33/33/33 text component instead
  • When content requires imagery, use the 50/50 image and text or 25/75 image and text components

Jinja code snippet

File in https://github.com/cfpb/cfgov-refresh:

https://github.com/cfpb/cfgov-refresh/blob/e67d1ad321551c221c01eaa62589dfdd1177d1dc/cfgov/jinja2/v1/_includes/organisms/half-width-link-blob-group.html

Specs

  • Headings: Use H3 or H4. Do not use both.
    • H3: Use when you wish to give the heading text a higher level of prominence within the page hierarchy. Avoid using H3 when it will cause the heading to break to 3 lines or more.
    • H4: Use when you wish to give the heading text less prominence within the page hierarchy or when the component follows an H3 heading. When you select the H4 you have the option of including a minicon to the left of the heading.

33/33/33 text component

Info unit group: example of third width link blob

When to use

  • Ideally, when a group of these components can be featured together in multiples of three (3, 6, 9, etc.)

When other options are better

  • When the number of components would be better featured in multiples of 2, use the 50/50 text component instead.
  • When headings are too long for the narrower width, for example, when they break to 3 lines or more
  • When content requires imagery, use the 50/50 image and text or the 25/75 image and text instead

Jinja code snippet

File in https://github.com/cfpb/cfgov-refresh:

https://github.com/cfpb/cfgov-refresh/blob/e67d1ad321551c221c01eaa62589dfdd1177d1dc/cfgov/jinja2/v1/_includes/organisms/third-width-link-blob-group.html

Specs

  • Headings: Use H3 or H4. Do not use both.
    • H3: Use when you wish to give the heading text a higher level of prominence within the page hierarchy. Avoid using H3 when it will cause the heading to break to 3 lines or more.
    • H4: Use when you wish to give the heading text less prominence within the page hierarchy or when the component follows an H3 heading. When you select the H4 you have the option of including a minicon to the left of the heading.