r/webdev • u/limonmonte • Nov 09 '19
SweetAlert2 - a beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes (alert, prompt, dialog, toast, side panel, etc.)
https://sweetalert2.github.io/
56
Upvotes
1
0
Nov 10 '19
[deleted]
1
u/limonmonte Nov 10 '19
The theme switcher is in the left sidebar.
0
Nov 10 '19
[deleted]
1
u/limonmonte Nov 10 '19
oops, sorry, I misunderstood your question. Of course you can use themes for "your" projects. The documentation for themes is here for now: https://github.com/sweetalert2/sweetalert2-themes
We'll add that info to https://sweetalert2.github.io/ soon.
0
Nov 10 '19
[deleted]
1
u/limonmonte Nov 10 '19
Yes, there's timerProgressBar parameter. See the example: https://sweetalert2.github.io/#mixin
8
u/limonmonte Nov 09 '19
Many of you already know about SweetAlert2, I'm sharing it again here because we recently shipped the new major release v9.0.0 with better customization (new showClass and hideClass params) and themes:
Dark
Bootstrap 4
Material UI
Minimal
Borderless
See the release notes for all changes: https://github.com/sweetalert2/sweetalert2/releases/tag/v9.0.0