Page notice

v4.0

A page notice is a prominent message for high-priority conditions that impacts what users can do in the product or on a specific page, like account restrictions, blocking issues, or urgent required actions.

  • CSS
  • Marko
  • React

Anatomy

Properties

Behavior

Screen sizes

Best practices

Timing

Do keep page notices temporary and provide a solution to remove the page notice.

An attention page notice with a button at the bottom.

Don't use page notices without a clear solution or as a permanent part of the design.

An attention page notice missing the button at the bottom.

Content

Do keep body copy in regular weight to maintain enough visual separation from the action.

An information page notice with regular-weight body text.

Don’t use bold weight for the body copy. The button becomes more difficult to discern from the main content.

An information page notice with bold-weight body text.

Stacking

Do show one page notice at a time and replace it with next priority page notice after the user dismisses or addresses it.

A single page notice.

Avoid stacking page notices. Stacked page notices can quickly become overwhelming.

Two variants of page notices stacked on top of each other.

Specs

Specs for a wide and narrow page notice. Both use 16px icons with 12px of space between the icon and content area. 16px is between the body text and link button. 12px of minimum space is between the content area and close/dismiss button. The close button is 16px. 16px of padding is around the top, bottom, left, and right of the content area.