Feedback · 5 parts · 4 variants · Basic

Banner

A message about the whole product or account, across the top of the screen.

01Anatomy

Your plan expires on 30 November.Renew

5 parts. Select a number or a name to see what each part does.

01 · Container

A full-width strip above or right under the navigation. It pushes the page down.

Required
Yes
Recommended
One at a time. Two banners stacked look like an emergency.

02 · Icon

Says the kind of message: information, warning, error.

Required
No

03 · Message

One sentence: what is happening and when.

Required
Yes
Recommended
Short enough for one line on desktop.

04 · Action

A link to fix or read more: Renew, Details.

Required
No

05 · Dismiss

Closes the banner and remembers it.

Required
Only in some cases
When
Not on critical messages that are still true.

02Structure

  • Bannercomponent setauto layouthorizontalfillhugpadding V 8H 12gap 8
  • Iconinstanceswapped by Type
  • Messagetextfill
  • ActioninstanceLinkboolean
  • DismissinstanceIcon Buttonboolean
Structure
PropertyTypeValues
TypeVariantInfoWarningCriticalPromotional
ActionBoolean + Text“Renew”
DismissibleBooleantruefalse
MessageText“Your plan expires…”

Set it to Fill width and put it in the page frame above the navigation: it pushes the rest down, like on the site.

03Variants

InfoNews for everyone, like planned maintenance.
WarningSomething will stop working if nobody acts.
CriticalSomething is broken now. No close button until it’s fixed.
PromotionalA new feature or an offer. Use it rarely, or people stop reading banners.

A banner has no states of its own: its link and close button follow theirs.

04Responsive behaviour

Desktop

One line across the page: icon, message, action and close.

Mobile

The message wraps on two lines and the action goes under it. The close stays top right.

There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.

Fuori Frame

Proven methods for designing interfaces with AI. Every two weeks, in Italian.

Subscribe