Alert Notification

The alert notification component is used to display global messages, supporting multiple types such as success, warning, error, etc., with customizable display duration and detailed content.

Usage Examples

Basic Usage

The most basic notification usage for displaying different types of global messages.

300px

Different Types

Call different methods to display different types of notifications: success, warning, error.

300px

Custom Duration

Use the duration option to customize the notification display duration.

300px

Message with Details

Use the details option to add detailed information to notifications.

300px

Properties

PropertyBasic component module for translation keys shared across all component documentation pagesTypeDefault
typeNotification type (success, warning, error)stringsuccess
messageNotification message contentstring
detailsDetailed informationstring
durationDisplay duration (milliseconds)number5000
closableWhether closablebooleantrue
Design Empowers, Innovation Unlimited