Banner

Outside the canon

From the pattern backlog (workshop Banner Component), built for the Invoicing pages: a status-coloured notice under the page header (Payment Types' convenience-fee note) or at the top of a Document page as its conditional alert (sync failed, disputed). Same tokens as Badge. A banner states what is true about the record or the page; what the person's own click just did is a toast instead — see the UX guide "Banner or toast?". A TextLink in a banner takes the banner's own colour (2026-10-28, by request), its dashed underline at half strength at rest and full on hover: rust beside the status colour read as a second signal. Buttons keep theirs; the action that has to be taken is Button contrast.

App: Portal::BannerComponent + dismissible controller

Statuses

#statuses

info, warning, success and error, with the matching solid icon. actions sit at the right of the banner from sm, centred against the text, and stack under it below that. The action that has to be taken uses Button contrast: ink on colour, because rust and navy both fight the status colour and tertiary disappears into it. A text link takes the banner's own colour (2026-10-28), its dashed underline showing at rest and filling on hover, so it belongs to the message instead of adding a second colour.

Convenience fees are on, so ACH Debit stays enabled to give customers a way to pay without a card convenience fee.

Next: Choose which customers pay convenience fees

Dismissible

#dismissible

A close button hides it locally (mock); the app's dismissible controller remembers it.

Reports are emailed

Requested reports arrive as CSV attachments within a few minutes.

Props

NameTypeDefaultNotes
statusinfo | warning | success | errorinfo
titleReactNode—
childrenReactNode—Body copy
actionsReactNode—Right-aligned beside the text from sm, centred against it; stacked under the text below that. Use Button contrast for the action that has to be taken
dismissiblebooleanfalseMock: hides locally