Remembered

The banner at the top of this page has a data-bs-banner-id. Close it and reload: it stays closed.

Default

A .banner with text and a link. Links take the banner color and an underline.

With an icon and a close button

Put an icon before the text and a .btn-close with data-bs-dismiss="banner" after it.

Start aligned

Add .banner-start to align the text to the start edge.

Colors

Add .banner-{color} for a filled banner.

Light colors

Add .banner-lt next to the color for a tinted banner.