Banner

Banners give users visibility to curations, promotions, events, and programs with a CTA that drives them to explore more.

Stylized graphic of a banner.

Considerations

Expressive

Banners use full-bleed color and photography to immerse users in a mood, season, or story.

Resonate

Personalize banners for each user by using what we know about them to show content that resonates.

Relevant

Banners appear at the moments they are most relevant to the user and always consider context and situation.

Anatomy

Types

Sizes

Each banner type has tall and short variants. Tall banners are used on educational and support landing pages where height is not a concern and building trust is the main goal. Short banners are used on dense, performance-focused shopping pages where height is a concern.

A short, full bleed lifestyle image banner that stretches from edge to edge at the top of the eBay homepage. This short banner takes up about one third of the viewport height.
A tall, gray background banner that stretches from edge to edge at the top of the eBay homepage. This taller banner takes up about two thirds of the viewport height.

Properties

Dark mode

In dark mode, banners do not change color. This ensures the contrast between the background color and the image is always maintained.

Example of a banner in light mode with the page title in white on a black background. The mobile shopping banner features a blue, black, and white sneaker. Text reads, “Save on sneakers. Up to 50% off trending sneakers,” with a “Shop now” button.
Example of a banner in dark mode with the page title in white on a black background. The banner is the same blue mobile shopping banner features a blue, black, and white sneaker. Text reads, “Save on sneakers. Up to 50% off trending sneakers,” with a “Shop now” button.

Making it legible

To ensure legibility of any text that is layered over photography, we apply our standard black scrim in #000000 at 5% opacity over the entire photo, plus an additional radial gradient in #030819 at 70% opacity centered behind the text. The shape of the radial gradient is a tilted oval that stretches over the bounds of the image and scales with the size of it. This helps the text stand out without looking like there’s a shape behind it. Lastly, we also apply a 100% opacity drop shadow in #000000 on any text that sits on top of photography to ensure legibility.

Visual of what the drop shadow settings look like in the figma panel and how the radial gradient is centered behind the text box and extends off the banner edges.

Interactive areas

Banners can have multiple interactive areas depending on the type of banner it is, if it has a disclaimer link, and if there are multiple banners in a carousel or not. Generally, the entire image will link to the primary button destination. However, disclaimer links and carousel controls have their own tap targets within the banner area and go to separate destinations.

Examples

Examples of how banners look at 3 different screen sizes - desktop, tablet, and mobile. Each size has a lifestyle image background banner at the top, a carousel of products underneath it, and a light gray color background banner underneath that.

Best practices