Notifications and Alerts

Custom Javascript Alerts

SweetAlert 2 is beautiful replacement for javascript alert. SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizeable, as you can see below!

Basic examples

Alerts can be customized to display custom variants using optional settings.



Advanced examples

A warning message, with a function attached to the "Confirm"-button":



Auto closing alert with timer.



A message with custom Image Header