Warning: count(): Parameter must be an array or an object that implements Countable in /home/customer/www/ on line 47
  • Save
  • 151

Sweet Alert: Beautiful JavaScript Alert Replacement

Tired of JavaScript’s “alert”. Then Sweet Alert is just what you are looking for.

This little plugin automatically centers itself on the page and looks great no matter if you’re using a desktop computer, mobile or tablet. And the customization options for this tool are almost limitless.

You can plug in Sweet Alert for almost any standard notification type.

Installation is simple and can be done in-browser, through NPM or with a download of the CSS and JavaScript files. Load the plugin and you are ready to add custom alerts and go!

Make sure to take a good look at the Sweet Alert configuration key chart. There are plenty of values for passing an object into Sweet Alert. The plugin also comes with some simple methods to call as well.

This plugin is a tool that can work for almost any website design. Who wouldn’t want a more custom and beautiful alert option? (And if you’d like to see more Sweet Alert features, make sure to let the developer know on GitHub.)