Search results
A collection of easy-to-digest code examples for specific tasks in about 30 lines of code or less. Queue with Progress Steps. Bootstrap 5 + custom loader. React example. React Router example. Formik example. Yes/No/Cancel Dialog. Draw Attention / Persistent Dialog. Colored Toasts.
A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert. Latest version: 11.12.0, last published: 10 days ago. Start using sweetalert2 in your project by running `npm i sweetalert2`.
Showing an alert. After importing the files into your application, you can call the swal function (make sure it's called after the DOM has loaded!) swal("Hello world!"); Preview. If you pass two arguments, the first one will be the modal's title, and the second one its text.
Sweet 2. Supported fork of t4t5/sweetalert. A beautiful, responsive, customizable, accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. Here’s a comparison of a standard error message. The first one uses the built-in alert -function, while the second is using SweetAlert2. Normal alert. Show error message.
SweetAlert2 comes with 5 built-in icon which will show a corresponding icon animation: warning, error, success, info, and question. It can either be put in the array under the key "icon" or passed as the third parameter of the function.
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦 - sweetalert2/sweetalert2
Description: Specify the exact amount of buttons and their behaviour. If you use an array, you can set the elements as strings (to set only the text), a list of ButtonOptions, or a combination of both. You can also set one of the elements to true to simply get the default options.
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 172 followers. https://sweetalert2.github.io.
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦 - sweetalert2/sweetalert2
Preview. Pretty cool, huh? Get started! You can customize SweetAlert to fit your needs. View docs. A beautiful replacement for JavaScript's 'alert'