Connection lost. Please check your internet connection. Attempting to reconnect...
Usage
Banner communicates site-wide or session-level state at the top of the application shell. Use it for outages, reconnections, maintenance windows, and product announcements that should remain visible while the condition persists. Unlike Callout, which lives inline in a page region, Banner spans the app header and competes for a single attention slot.
Connection lost. Please check your internet connection. Attempting to reconnect...
Use Banner when the message applies to the whole console, not a single pane or form. Connection loss, scheduled maintenance, and cross-product announcements belong here.
Warning banners communicate transient or degraded states where the user can keep working. Pair them with reconnection or refresh actions only when the user can meaningfully respond.
After a sustained outage resolves, a short Success banner can confirm recovery. Sequence it after any lingering Warning banner and auto-dismiss it when the message is non-actionable.
Use Callout when the message qualifies a specific table, form, or workflow region.
Use Snackbar for save confirmations, background sync notices, and other disposable outcomes that should not occupy the header.
Use Modal when the user must deliberately confirm or resolve a problem before continuing.
BannerType maps to semantic intent. Use the lightest variant that still communicates urgency.
Neutral announcements such as webinars, release notes, or product updates.
Important but non-actionable or transient degraded states. Example: reconnecting after a sustained websocket disconnect. Do not use error styling for reconnect churn.
User-actionable problems that require dismissal or a clear resolution path. Never auto-dismiss Critical banners.
Resolution or recovery confirmations. Safe to auto-dismiss when the banner has no CTA.
Promotional content with optional registration or learn-more actions.
Rule: never auto-dismiss banners that include a ctaButton or use BannerType.Critical.
Non-actionable Success banners may auto-dismiss using content-aware timing:
Actionable banners and Critical banners must remain until the user dismisses them or the underlying condition resolves.
For websocket or network recovery:
Warning banner after a sustained disconnect threshold.Success recovery banner.role="alert" with a localized aria-label.On this page