Back Home

Alert Guidelines

Ensuring clear and effective user feedback

Introduction to Alerts

Alerts are crucial UI components for conveying timely information, status updates, or notifications to users. They should be used judiciously to avoid overwhelming the user. This section outlines the types of alerts available and best practices for their implementation within our design system.

Types of Alerts

We support several standard alert types, each visually distinct to communicate its semantic meaning effectively. These are designed to be immediately recognizable and understandable.

Success Alerts

Used to confirm that an action has been completed successfully.

Operation completed without any issues.

Information Alerts

Provide users with useful, context-specific information.

Please review your profile settings.

Warning Alerts

Indicate that something might require attention or could potentially lead to a problem.

Your subscription is about to expire.

Danger Alerts

Signal that a serious problem has occurred or that an action might have severe negative consequences.

Error: Unable to save your changes.

Best Practices

Implementation Notes

Alerts can be implemented using simple HTML structure and inline CSS. For example, a warning alert might look like this:

<div class="alert-example alert-warning">
    This is a warning message.
</div>