Back to Sweetalert

SweetAlert

docs/index.html

2.1.2620 B
Original Source

A beautiful replacement for success messages

npm install sweetalert

You've arrived!

How lovely. Let me take your coat.

Oops!

Seems like something went wrong!

Delete important stuff?

That doesn't seem like a good idea. Are you sure you want to do that?

Cancel

Yes, delete it!

SweetAlert makes popup messages easy and pretty.

Normal alert

alert("Oops, something went wrong!")

Preview

SweetAlert

swal("Oops", "Something went wrong!", "error")

Preview

Pretty cool, huh?

Get started!

You can customize SweetAlert to fit your needs

View docs