Introductions

Text introductions

The text introduction is the standard page introduction pattern used across all pages that do not have a hero or item introduction. They introduce a page, or collection of pages, with a brief description of the goals of that section.

Types

Text introduction

Text introductions consist of a heading, lead paragraph, and optional descriptive paragraph, and link text. They should be used on every page except in cases when a hero or item introduction is used.

Heading 1

Lead paragraph lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Descriptive paragraph lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

HTML code snippet

<div class="o-text-introduction">
  <h1>Heading 1</h1>
  <p class="lead-paragraph">
    Lead paragraph lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
    consequat.
  </p>
  <p>
    Descriptive paragraph lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
    consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
    cillum dolore.
  </p>
  <ul class="m-list m-list--links">
    <li class="m-list__item">
      <a class="m-list__link" href="#"> Call-to-action link </a>
    </li>
  </ul>
</div>

Specs

Image of text intro showing desktop and mobile design specs

  • Spacing: 45px margin above, 60 px margin below.
  • Page title: Heading 1
  • Subheader: Lead paragraph style
  • Optional descriptive paragraph and call-to-action link: Avenir Next paragraph
  • Text spans seven columns
  • At breakpoints below 600: Page title and lead paragraph drop down one type size to make reading on smaller devices easier.

Variation

Breakout sidebar

On landing or sub-landing pages, the text introduction may be accompanied by a breakout sidebar to highlight a specific piece of content from the section. The optional breakout sidebar should be used when a specific piece of content needs to be highlighted that is related to, but not a continuation of, content in the introduction. The breakout sidebar may contain a related element or imagery. An example of it appears on the Rulemaking sub-landing page.

Layout as seen with a ‘breakout’ highlight in the right sidebar area:

Image of a text introduction component with a "breakout" highlight in the right sidebar

Specs

Image of text intro with breakout sidebar showing grid and design specs

  • Spacing: The breakout may be taller than the Text Intro content, in which case the margin beneath the breakout should be 60px.
  • Required elements: slug title and paragraph text.
  • Imagery: May use either a circle (1x1) image or a 16x9 ratio image.

Latest Updates

Page last edited:
Show all details
Edit page