# Banner
**📖 Live documentation:** https://cds.coinbase.com/components/feedback/Banner/
Displays important messages and actions to users.
## Import
```tsx
import { Banner } from '@coinbase/cds-web/banner/Banner'
```
## Examples
### 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.
```tsx live
Primary}
secondaryAction={Secondary}
>
Your funds are safe. We’re looking into it and expect our usual service to return soon.
Learn more
```
### 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.
```tsx live
Primary}
secondaryAction={Secondary}
>
Your funds are safe. We’re looking into it and expect our usual service to return soon.
Learn more
```
### 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.
```tsx live
Your funds are safe. We’re looking into it and expect our usual service to return soon.
Learn more
```
### 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.
```tsx live
Primary}
secondaryAction={Secondary}
>
Your funds are safe. We’re looking into it and expect our usual service to return soon.
Learn more
Retry
```
### Rounded Corner Banners
You can customize `borderRadius` to soften contextual and in-line banners.
```tsx live
Rounded corners help align with softer surface treatments within a page section.
Primary}
secondaryAction={Secondary}
startIcon="info"
startIconActive
styleVariant="inline"
title="Rounded inline banner"
variant="promotional"
>
You can incrementally increase the radius to match surrounding cards or panels.
```
:::tip
Avoid setting `borderRadius` for `styleVariant="global"` so the vertical status bar remains aligned.
:::
### Bleed with Margin Props
When using negative `margin*` props to create a bleed effect, explicitly set `width` so the Banner expands beyond its container.
```tsx live
Use with prop to override the default 100% width
```
## Props
| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `startIcon` | `IconName` | Yes | `-` | Name of icon to be shown in the banner |
| `variant` | `BannerVariant` | Yes | `-` | Sets the variant of the banner - which is responsible for foreground and background color assignment |
| `alignContent` | `ResponsiveProp