Sweet Alerts

SweetAlert examples

# CATEGORY ACTION
01
Confirm deletionA warning message, with a function attached to the Confirm button.
Confirmation
02
Handle cancellationRun a different action when the Cancel button is selected.
Confirmation
03
Image headerA message with a custom image header
Appearance
04
Auto-close timerA message with an auto close timer
Feedback
05
Formatted contentCustom HTML description and buttons
Appearance
06
Save or discard changesA dialog with three buttons
Confirmation
07
Positioned notificationA custom positioned dialog
Feedback
08
Custom dialog layoutA message with custom width, padding and background
Appearance
09
Async requestAjax request example
Input and data

Custom SweetAlert examples

Success Message

Here is an example of a sweet alert with a success message.

Error Message

Here is an example of a sweet alert with a error message.

Warning Message

Here is an example of a sweet alert with a warning message.