Banner — one component for a screen that failed and for system-wide messages

<Banner tone="error | info" dismissible onRetry> · components/banner.tsx

tone="error" onRetry · role="alert"

This screen could not be shown.

tone="error" onRetry dismissible · role="alert"

This screen could not be shown.

tone="info" · role="status"

Scheduled maintenance tonight 22:00–23:00.

tone="info" dismissible · role="status"

Scheduled maintenance tonight 22:00–23:00.

Icon and words carry the tone, colour never alone: a warning triangle for error, an “i” for info. Text #A0001F on #FDECEF and #23406E on #E8EEF8, both above 4.5:1. The close button is a real <button> with an accessible name, 44 px; dismissing hides only this message, focus moves to the content below. Words in user terms only — no service, host or error code.

Placement · a screen that failed inside <AppShell>
WorkContract intake
This screen could not be shown.
the screen's content is not rendered

At the top of the content area, below the page header, above everything the screen would show. Only the failed screen is replaced; sidebar, sign-out and navigation keep working, so the person can go elsewhere or try again. Try again re-runs the screen's loading. A system message (info) takes the same slot on every screen; error and info can stack, error first.