Read the Official SweetAlert2 Documentation for a full list of instructions and other options.

Basic Alert

A title with a text under

Mixin example

Custom HTML description and buttons

Custom position

A message with auto close timer

passing a parameter, you can execute something else for "Cancel"

A message with a custom image

With a title, an error icon, a text, and a footer