
Banners are one of the most widely used components in UI design, but one of the most frequently misapplied. Used well, they surface important information without interrupting the user's flow. Used poorly, they create visual noise that leads users to ignore them entirely.
This guide covers what banner UI components are, how they work, when to use them, and how to design them effectively across web and mobile interfaces. You’ll also find some visual examples from brands using them well.
A banner is a UI component that displays a persistent, prominent message, spanning the full width of the screen or its container. Banners are used to communicate important information, warnings, errors, confirmations, or promotional messages. They remain visible until the user dismisses them or until the condition that triggered them is resolved.
Banners are sometimes called callouts, alert bars, notification bars, or info banners, depending on the platform and design system. The terminology varies, but the core behavior is consistent: a banner stays on screen. This is what distinguishes it from a toast notification, which is transient and auto-dismisses.
A call to action (CTA) is optional in a banner; some banners are purely informational, while others require the user to take an action to resolve them.
Banners appear across nearly every category of digital product and ecommerce website. The use case determines the banner's urgency, tone, and design treatment.
Promotions and offers are among the most common uses in ecommerce and marketing contexts — things such as discount announcements, free delivery thresholds, and limited-time sales. These banners are typically brand-colored and visually prominent. They may also include a CTA to act on the offer. Urgency is moderate; they don't require immediate resolution but benefit from visibility.
Banners can be used to draw attention to new functionality or product updates. They're typically low-urgency and informational in tone — the user doesn't need to act, but might benefit from knowing.
A banner is sometimes used to communicate that something has gone wrong or that an action is needed to avoid a problem. These are the highest-urgency banner types and typically use red (error) or amber (warning) color conventions. They should always tell the user what went wrong and what to do about it.
Banners are sometimes displayed to confirm that an action has completed — a form submitted, a file saved, a setting updated.
Note: To be classified as a banner rather than a toast, an acknowledgment message must sit within the content of the page, not above it. A success message that floats above the interface and auto-dismisses is a toast, not a banner.
If a website needs to communicate status that affects the user but doesn't require immediate action — like cookie consent notices, scheduled maintenance warnings, connectivity alerts — a banner may be used. These are typically blue or neutral in color.
These are used to guide users through new or updated sections of an interface — often in SaaS platforms or apps. They're contextual and temporary; they should be dismissible once the user has completed or acknowledged the guidance.
Banners are frequently confused with similar UI components. However, the distinctions matter; using the wrong component for a message creates the wrong user expectation.
Here are the key differences at a glance, and how the other UI components differ from banners.
The key distinction is persistence and position. Banners are persistent and full-width, remaining on screen until dismissed or resolved. Toasts are transient; they appear briefly, then disappear automatically. They're appropriate for lightweight feedback that doesn't require action (a file saving, a message sending).
A critical difference: acknowledgment containers that exist within the content of a page are banners; those that float above the interface and auto-dismiss are toasts. The position and behavior together define the component, not just the visual appearance.
Modals interrupt the entire interface and demand immediate attention before the user can continue. Banners are non-blocking; the user can read or ignore them and continue interacting with the page.
If a message is critical enough to halt all interaction, use a modal. If it isn't, use a banner.
Cards are content containers, typically organized in a grid or list alongside other cards. They display individual items of content as part of the page structure. Banners exist independently — they draw attention to a specific message that stands apart from the page content and are not organized alongside other components.

A banner is made up of several constituent parts, though not all of them are required in every instance:
Banners vary in their structural position, behavior, and specialized application. Understanding the variants helps you choose the right pattern for a given use case.
Color is the primary visual signal that communicates a banner's urgency and type. Most design systems use a shared set of semantic color conventions, with consistency across the system being more important than any specific shade.
Here’s some guidance on which colors to use in different scenarios.
Important
Never rely on color alone to communicate banner type. Colorblind users may not perceive the distinction between red and green, or between amber and gray. Always pair color with an icon that reinforces the message type, and ensure the copy itself communicates urgency without relying on visual cues.
position: sticky or position: fixed as appropriate. A banner that disappears as the user scrolls, then reappears at the top when they scroll back up, creates a jarring experience and defeats the purpose of the sticky pattern.Mobile introduces specific UX constraints that affect how banners should be designed and written.
Banner text that fits on one line on desktop will often wrap to two or three lines on a small screen. Every additional line of wrapped text consumes viewport real estate and increases the visual weight of the component. Write for the shortest reasonable line length.
A common implementation issue is icon alignment breaking when the message runs to multiple lines; the icon often ends up top-aligned rather than centered against the text block. Test banner components with multi-line copy on small viewports to ensure they don’t break.
Inline links that follow long body copy become visually awkward when the text wraps; the CTA ends up stranded at the start of a short orphan line. Position action elements below the message copy on mobile, not inline within it.
Max-width constraints that apply to page content on wide desktop viewports (e.g., no wider than 1,200px) do not apply to banners. The container should still span the full screen width.
A sticky banner on a mobile viewport can consume 15–20% of visible screen space. If a message isn't important enough to justify that real estate cost, it should be dismissible, positioned inline, or communicated through a less persistent mechanism. If it is that important, make it clearly dismissible.
Here are some examples of banner UI implementations from leading ecommerce websites on desktop and mobile, to give you a sense of what works well.

LEGO’s banner in the example above showcases a promotional offer. It includes easy-to-read message copy with an inline CTA where users can find out more information. There are several other banner messages (which users can scroll through using the page controls), but only one is shown at a time, reducing the cognitive load placed on the user.

Microsoft’s banner in the example above highlights important delivery and returns information right up front, reassuring users about when they’ll receive their order and that they can return it if necessary.
It’s presented in brand colors and includes a clearly defined CTA button as well as a clear close button so users can dismiss the message if they wish.

This example shows REI’s mobile site with a banner highlighting the loyalty program available to users. The copy includes relevant details and a link for users to join the program, without taking up too much screen real estate, which is vital for mobile device and app experiences.

This mobile example from Evo shows a banner highlighting a limited-time offer. It includes relevant copy and icons with a helpful countdown timer that shows users when the promo ends.
Looking for more UX design inspiration and evidence-backed insights to help back up your recommendations?
Sign up to Baymard for free to access our 700+ actionable UX guidelines and performance benchmarks based on 200,000+ hours of user testing across 40+ ecommerce industries.
A banner notification is a UI component that displays a message across the full width of a screen or container. A banner stays visible until the user dismisses it or until the condition it describes is resolved. Banners can be used for errors, warnings, informational messages, and promotions.
An info banner is a banner component used to communicate neutral, informational content such as system notices, tips, updates, or contextual guidance. It doesn't require immediate user action. Info banners are typically styled in blue or neutral tones to distinguish them from higher-urgency warning and error banners.
The key differences are persistence and position. A banner is persistent; it remains on screen until dismissed or resolved, and typically spans the full width of the page or section. A toast notification is transient; it auto-dismisses after a short period and is used for lightweight feedback on a completed action (for example, "Message sent" or "Saved"). If an acknowledgment message sits within the page content, it can be a banner; if it floats above the interface and disappears automatically, it's a toast.
Use a banner when the message is important but non-blocking — the user can read it, ignore it, and continue interacting with the page. Use a modal when the message requires the user's undivided attention before they can continue — for critical decisions, confirmations, or situations where proceeding without acknowledgment would be a problem. The fundamental distinction is whether you need to halt the user's current task or simply inform them while they continue it.
Access research-backed UX guidelines
Make best-in-class design decisions and improve conversions with 200,000+ hours of validated, industry-specific UX research and benchmarks.
Research Director and Co-Founder
Christian is the research director and co-founder of Baymard. Christian oversees all UX research activities at Baymard. His areas of specialization within ecommerce UX are: Checkout, Form Field, Search, Mobile web, and Product Listings. Christian is also an avid speaker at UX and CRO conferences.