An Announcement is a short banner that promotes an important message. It can be used across websites, depending on the relevance of the message and the target audience.
An announcement banner can be used in light, dark, and saturated themes. It can feature elements like text, a button, a call to action, icons, imagery, or a background container.
An announcement banner can promote a popular event or advertise an important organizational or product announcement.
An announcement banner doesn’t fall within the grid. It spans the entire width of a browser window on all screens whereas the content of the banner itself should fall within the standard grid.
An announcement banner should be positioned above the navigation so it becomes the highest layout in hierarchy. It can also be used across different pages to better attract attention from visitors who might be coming from different places.
Any content within an announcement banner can either be center-aligned or aligned to the left and right sides, depending on the amount of content and what its objective is.
Don't position the announcement banner below the navigation.
An announcement banner sits above the navigation and can be sticky, but should not be visible on scroll if the navigation of the site is also in fixed position.
An announcement banner works well across both large and small screens. The elements inside will stack in one column and become vertically-aligned on small screens.
Some text styles reduce in size on small screens. Learn more about typography on mobile
Since announcement banners can consist of a variety of elements, refer to the specific interaction states that are assigned to each style and component for more information.
The announcement banner uses PatternFly 4 spacers to define spacing values between elements.
For feedback and bug reports concerning PatternFly Elements components, create an issue in the GitHub repository.