Banner
An inline message that tells people about the state of a page or section, with optional actions.
Colors
color sets the surface. Pick it by meaning: green for success, blue for something in progress, orange for a warning, red for an error, and grey or white for neutral information. icon takes success, info, warning or error for the matching glyph.
A banner has role="status" by default, so screen readers announce it politely. Use role="alert" for errors that need attention right away.
Your Shopify store is connected
Syncing project context from Notion
Some prompts could not be refreshed this week
We couldn't save your settings. Please try again.
This workspace is shared with your agency
Profound is missing context to personalize your chats
Description
description adds a second line of supporting copy. With a description, the icon lines up with the title instead of the middle of the banner.
Migrated from Projects v1
Shopify is not enabled for this organization
Actions
primaryAction and secondaryAction render at the end of the banner, with the secondary action first. Pass small buttons. onDismiss adds a close button labelled "Dismiss banner"; the banner does not hide itself, so remove it in the callback.
The text shrinks to make room for the actions. Where the banner can get narrow, add flex-wrap and a minimum width on the text with contentClassName, so the actions move under the text instead.
Your brand was not found in answer engine results
We couldn't load your boards. Your saved settings haven't changed.
Accent color and custom icons
coloredTitle colors the title, and the text of plain-text actions, with the banner's accent. iconColor colors only the icon, for a neutral surface that still needs a colored glyph. icon also accepts any icon element, which is sized and colored for you.
It's your turn to review
Agent runs disabled
This review is done
Properties
The main message
Supporting copy under the title
Surface and accent color
Default: green
A built-in glyph by name, or an icon element. No icon renders when omitted
Accent color for the icon alone. Defaults to color
Colors the title and the action area's text with the banner's accent
The main action, rendered last
An extra action, rendered before primaryAction
Aligns the actions with the top or the middle of the banner
Default: center
Shows a dismiss button and runs when it is clicked. The banner does not hide itself
Live-region role. Use alert for urgent errors, or presentation inside another live region
Default: status
Lays out the icon, text and actions in a row or a column
Default: horizontal
Additional CSS classes for the banner
Additional CSS classes for the title and description wrapper
Additional CSS classes for the description