Sweet Alerts
Show custom alerts and prompts
Last updated
Show custom alerts and prompts
Last updated
SweetAlert is a great package to show custom and beautifully designed alerts, prompts etc. It can afford custom CSS in the UI as well as in animation, which makes it a cool feature to be added to almost all your mobile and web apps.
The package can be installed with npm using
Usage
You can import Sweetalert in your page using
and then show a custom alert using something like this (JSON options can be modified as you want. Check this for more options)