Education notice

v2.0

Contextual notices are supplemental, proactive messages that surface information, features, and opportunities in the context of users’ current tasks.

  • CSS
  • Marko
  • React
Stylized graphic of an education notice.

Considerations

Informative

Contextual notices help users immediately access additional information.

Visual

Contextual notices use icons to help support the message, explain a concept, or create a visual connection to the value prop.

Scalable

Contextual notices can be actionable and/or dismissable and have 2 levels of visual prominence to scale to all use cases.

Anatomy

Number 1 points to an icon in the top left corner of the education notice. Number 2 points to the title directly following the icon. Number 3 points to a string of body copy on its own line, directly under the icon and title. Number four points to an “X” close icon in the top right corner of the notice. Number 5 points to the action which is underlined text on it’s own line directly under the body copy.
  1. Icon
  2. Title
  3. Body
  4. Close/dismiss
  5. Action

Properties

Title

Optional. Use clear, specific language to summarize the purpose or benefit of the notice. Avoid redundancy and keep the title distinct from the body copy.

  • Use sentence case, except for proper nouns and branded terms
  • No punctuation
  • Max character count: 55
One education notice with a shoe icon and title next to it that says, “Save your shoe size”. Body copy below it says, “Add your shoe size(s) so we can provide customized results for you.” The action below body copy says, “Save size”.

Body

Required. Only include the essential information at that moment, such as the user benefits. Do not repeat what’s in the title. 

  • Use sentence case
  • Use ending punctuation
  • Max 120 characters
One education notice with body copy that says, “We guarantee your item is authentic or your money back, no questions asked.”

Icon

A leading icon is available to increase visibility and drive recognition of a feature or program. The icon relates directly to the messaging. If the message is about a program, use the respective program badge.

Two education notices stacked on top of each other. The first one has an “Authenticity Guarantee” icon and the second one has a tag icon.

Background color

Contextual notices can have blue or gray backgrounds. Choose a background color based on the message's prominence and the page's hierarchy. Blue contextual notices are more noticeable, but can be overwhelming when there's a lot of adjacent colors. Gray contextual notices are less prominent, but better suited for pages with a lot of color.

Two education notices stacked on top of each other. The first one has a light blue background and the second one has a light gray background.

Icon color

By default, leading icons are black. Some program badges appear in other colors. See Program badges for more info.

Two education notices stacked on top of each other. The first one has a light blue background with filled “Authenticity Guarantee” icon. The second one has a light gray background with filled “Authenticity Guarantee” icon.

Dismissable

Contextual notices can include a dismiss button that removes the notice from the page. This is useful for general or supplemental information that users may only need once.

An education notice with an “X” close icon in the top right corner that dismisses the notice.

Action (Button label)

Contextual notices can include a link button for relevant actions.

On small screens, the action is stacked below the content. On large screens, the action is inline to the right.

Link button title

Use verbs to make the next step and outcome immediately clear. Don’t describe what the notice already says.

  • Use sentence case
  • No ending punctuation
  • Use a [verb] [noun] or [verb] [article] [noun] pattern
  • Keep to 2–4 words
One education notice that says, “Sell for free this month! Get 500 listings until March 31st.” and an underlined link showing “Start selling” action.

Behavior

Presentation

Contextual notices should be placed close to a relevant page section. For example, a payment message appears above a payment section. Similarly, a Guarantee Trust message is located further down the checkout page, just before the purchase button.

A checkout screen with an education notice at the top of the page that reads, “New ways to pay. Use two ways to pay on one purchase.” This notice appears right above a section called “Payment” .
An education notice that appears right above the payment button at the bottom of the checkout page.

Stacking

A checkout screen with a page level notice that appears above an education notice.

Page level alerts are displayed above any contextual notices.

A checkout screen with a section notice that appears above an education notice.

Section level notices are also displayed above any contextual notices if they're referring to the same section.

Width

The minimum width for contextual notices is 288px.

Education notice with a a dimension indicator showing a width of 288 pixels.

Overflow

Title and body copy will wrap if wider than the container. Action labels should avoid wrapping.

An education notice with a title that wraps to 2 lines and body copy that wraps to 3 lines.

Carousels

Contextual notices can appear in a carousel when there are multiple related notices. If a notice is dismissible, the content shifts to fill the open spot after a notice is removed. The width doesn't change to fill available space.

A web page that has a carousel of 3 related education notice’s lined up horizontally under the title “latest recommendations”. Each notice has a close icon in the top right corner.

Screen sizes

Small

On small screens, contextual notices always extend to fill all columns and have rounded corners. Dismiss is always right top-aligned and the action is left-aligned below the body content.

An education notice on a mobile page that extends to fill all columns and has rounded corners. Dismiss action right top-aligned and the action is left-aligned below the body content.

Medium

On medium screens, contextual notices also extend to fill all columns and have rounded corners. Dismiss is always right top-aligned and the action is left-aligned below the body content.

An education notice on a tablet page that extends to fill all columns and has rounded corners. Dismiss action is right top-aligned and the action is left-aligned below the body content.

Large

On large screens, contextual notices extend to their maximum width.

An education notice on a desktop page that extends to fill all columns and has rounded corners. Dismiss action is right top-aligned and the action is left-aligned below the body content.

Best practices

Content

Do use a bold title, regular-weight body copy, and a clear action label so users can quickly scan the notice.

Education notice with a bolded title and regular weight body copy.

Don’t bold the body copy or repeat the same message across the title, body, and action. Lack of visual hierarchy and repetition make the notice harder to scan and the action harder to identify.

Education notice with a bolded title and bolded body copy.

Icons

Do use black for all icons that are not an approved program badge.

Education notice with a black thumbs up icon.

Don’t make generic icons that aren’t approved badges blue.

Education notice with a blue thumbs up icon.

Priority

Do ensure alert notices appear above contextual notices when they occupy the same space.

Mobile check out page with an alert notice that appears above an education notice.

Don't place contextual notices above alert notices when occupying the same space.

Mobile check out page with an education notice that appears above an alert notice.

Specs

An alert notice with detailed specs showing dimension indicators in pink. Padding above icon and title is 24px. Padding on left and right of content is 24px. Padding between the title text box and close icon is 12px. Padding underneath title and above body copy is 16px. Padding under action is 24px. Corner radius is “radius.large”.