Sweet Alert 2 Examples
A basic message
A title with a text under
A modal with a title, an error icon, a text, and a footer
A modal with image
Custom HTML description and buttons with ARIA labels
Custom positioned dialog
Confirm dialog, with a function attached to the "Confirm"-button
Passing a parameter, you can execute something else for "Cancel".
Message with a custom image and CSS animation disabled.
Message with auto close timer.
Right-to-left support for Arabic, Hebrew, and other RTL languages
AJAX request example
Chaining modals (queue) example
Dynamic queue example
Timer functions example