Menu

Contact box

Use this component to highlight contact information (e.g. phone number, email address, survey link, etc.). You can include multiple items in the same box as long as they serve the same purpose. For example contacting a team by phone or by email for the same purpose can be included in one contact box. Do not use this if you have more than five or more pieces of contact information you want to highlight, use a definition list instead.

Minimum requirements
  • 1 heading (h3)
  • 1 paragraph (p)
  • 1 link name (a.button) and 1 hyperlink (a[href].button)
Advanced settings

Presets

?

Variations

?

Modifiers

?

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit.


Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit.


HTML
Copy to clipboard

Component used in

Details

Usage

The contact box component provides contact info to the users (e.g., email and phone number).

Guidelines

  1. Cannot be added on the top of the page
  2. Do not add physical adresses
  3. You can use it to display social network links
  4. When the button links to an email address, do not put the email address as the button's label. Instead put the team name or a description of the purpose of the email address.
  5. Character limits:
    • 75 characters for the title (h3)
    • 280 characters for the paragraph (p)
    • 45 characters for each button name (a.button)
  6. Image dimensions:
    • 2560x750 (resolution)
    • JPG and WEBP (format)

HTML structure

Overall HTML view of a contact box component:

HTML file (.html)
(other component(s))
div[data-image].contact-box
div.content-box
h3
p
div.button-box
a.button (one or more)
(other component(s))

Presets

Contact box presets:

PresetDescription
DefaultDefault preset.
Two buttons,
Three buttons,
Four buttons
To be used depending on the number of contacts available.
Four buttons, two columnsIf you have four buttons and you need additional width to feature each button name use this preset.

Presets are ready to use HTML structures.

Variations

Contact box variations:

VariationDescription
Two buttons,
Three buttons,
Four buttons
These snippets are composed of a title, a description and a buttons area which, depending on the number of contacts available, will grow.

Modifiers

Contact box classes:

ClassDescription
-two-columns, -three-columns, -four-columnsChanges the width and the number of buttons placed side by side in one row

To enable a modifier, add it as a class to the outermost element of this component.

Embedding

The contact box component cannot be embedded inside other component.

main (HTML file)
(component)
div.contact-box

Nesting

The contact box component cannot be used as a container of other components and/or elements.

main (HTML file)
div.contact-box
(Element)