The key characteristics of our alert component are the following:
Depending on the message that the alert is showcasing, we can find four different semantic meanings of the component:
| Type | Description |
|---|---|
| Information | Informational messages are used exclusively to assist the user with directional or explanatory text about a complex or seldom used process |
| Warning | Alert or warning messages should be displayed when there is a potential obstacle in completing a process as intended |
| Error | Error messages convey a critical system problem that requires user and/or technical intervention to correct |
| Success | Success messages should be used to assure user that a system calculation or data submission was completed correctly |
Alerts can appear in various scenarios within a product, making it crucial to select the most appropriate variant for effectively conveying the message. Halstack offers three variants of its Alert component, each specifically designed and tailored to address common use cases.
Displayed always bellow the header of the site, the Alert banner is used for critical system or application messages. These alerts are actionable, meaning the user can interact with the message to resolve the issue directly from the alert itself. However, closing the message is not considered an action and is mandatory, as the message remains visible and cannot be dismissed until addressed. Additionally, if there are multiple critical system messages, the Alert banner allows pagination between them, ensuring that users can manage and resolve all critical issues systematically.
Use cases: