Skip to main content

Banner

UI Design

What is a Banner

A banner is a prominent message at the top of a screen with optional actions. It tells users about something important, such as a lost connection or an account issue, and stays visible until they act on it or dismiss it.

How a Banner works

  • Top placement: Below the app bar or page header
  • Persistent: Stays until dismissed or resolved
  • Non-modal: Users can keep working
  • Actions: One or two buttons, such as Verify or Dismiss

When to use a Banner

Use banners for important, ongoing information that affects the whole page or account, such as system status, required updates or trial expiry. For short confirmations, use a snackbar or toast instead. Show only one banner at a time.

Banner best practices

Keep the message short and specific, with a clear action. Use color and an icon to show the level, such as warning or error, but not color alone. Avoid styles that look like ads, because users tend to skip ad-like content.

Frequently asked questions

What is the difference between a banner and a snackbar?

A banner stays at the top of the screen until the user acts on it or dismisses it. A snackbar appears briefly at the bottom and disappears on its own. Use banners for important messages that need attention.

Where should a banner appear?

At the top of the screen or page, below the top app bar, where it is seen without covering content. Material Design recommends showing only one banner at a time.

Why do users ignore banners?

Elements that look like ads are often skipped, an effect called banner blindness. Keep in-app banners plain, short and clearly related to the user's task so they do not look like advertising.