Alert Banner
Storybook
View this component in the Storybook sandbox
GitHub
Browse the files and source code related to this component
The Alert Banner component is meant for displaying critical information.
Anatomy
Usage Guidelines
The Alert Banner component should only be used for critical communication, such as emergency alerts, public health or safety advisories, or system outages. It is the component that may be placed above the Brand Bar.
When to consider a different component
For almost all use cases, we recommend using the Callout component, as it offers more flexibility and may be used in content areas.
Implementation
This component is not available in WordPress, but is used for emergency communications on ua.edu.
React Component Props
- title
string (required)
- The alert title
- description
ReactNode (required)
- A short description of the alert
- icon
string
- The name of a FontAwesome icon to display inside the alert
- href
string
- A link for the user to learn more about the alert