Skip to main content
Banner
@coinbase/cds-web@8.34.1
Displays important messages and actions to users.
Import
import { Banner } from '@coinbase/cds-web/banner/Banner'
SourceView source codeStorybookView StorybookFigmaView Figma (internal only)
Related components
View as Markdown

Global Warning Banner

The global warning banner is used to communicate important alerts or warnings to users across the entire platform, ensuring universal visibility and building trust.

Loading...

In-line Error Banner

The In-line Error Banner is used to display specific error messages directly beneath the relevant section headers. Use in-line banners to help users identify exactly where the error or outage is located.

Loading...

Contextual Promotional Banner

The Contextual Promotional Banner is used to highlight special offers, promotions, or announcements within a specific context or section of the platform. It is used to increase user engagement and drive conversions.

Loading...

In-line Informational Banner

The in-line Informational Banner is used to provide users with additional information or helpful tips directly within the content or interface, providing relevant guidance.

Loading...

Rounded Corner Banners

You can customize borderRadius to soften contextual and in-line banners.

Loading...
Tip

Avoid setting borderRadius for styleVariant="global" so the vertical status bar remains aligned.

Is this page useful?

Coinbase Design is an open-source, adaptable system of guidelines, components, and tools that aid the best practices of user interface design for crypto products.