Banner

A full-width bar at the top of a page with one message about the whole product or account, in five statuses (Error, Warning, Success, Information, Feature) and four appearances.

FreeReact and Vue

Add a filled error Orvain Banner with a left icon, the title “Insert your alert title here!”, the description “Insert your description here.”, a “Button” link and a dismiss icon.

Orvain MCPIncluded with the library

When to use#

  • For something that affects the whole page, not a single field or card.
  • For lasting states: an overdue invoice, a read-only workspace, a scheduled outage.
  • With one action that resolves or explains the message.

When not to use

  • Use an inline Alert for feedback on one form or section.
  • Use a toast to confirm something the person just did.

Anatomy#

1Bar

Edge to edge, 56px tall, its contents centred; a bottom hairline in the Stroke appearance.

2Icon

20px, one per status.

3Title and description

Satoshi 14, Medium then Regular, joined by a ∙.

4Link

An underlined 16px link with a chevron.

5Dismiss

A close button 12px from the right edge.

States#

Filled

The status colour with white text.

Light

A soft wash of the status colour.

Lighter

The palest wash.

Stroke

White with a bottom hairline.

Narrow

The group aligns left and the text wraps instead of truncating.

Source#

The Banner ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.

Install the packages

Used in these blocks