Banner

Banner is used to highlight important information.

Page navigation navigation

React examples

Default

Info

GitHub users are now required to enable two-factor authentication as an additional security measure.

Tone variants

Banners can be used to convey different tones of information. Choose the correct variant for your use-case.

Banner variant guidelines

Critical

GitHub users are now required to enable two-factor authentication as an additional security measure.

Dismissible

Dismissible Banner guidelines

Info

GitHub users are now required to enable two-factor authentication as an additional security measure.

With actions

Banner actions guidelines

Info

GitHub users are now required to enable two-factor authentication as an additional security measure.

Visually hidden title

The Banner's title is still accessible to assistive technologies, but is visually hidden.

Info

GitHub users are now required to enable two-factor authentication as an additional security measure.

More code examples

See the Banner Storybook stories.

Props

Loading data for banner...