About 23 results
Open links in new tab
  1. SweetAlert2 Recipe Gallery - Code Examples for Specific Tasks

    SweetAlert2 Recipe Gallery - Code Examples for Specific TasksRecipe Gallery A collection of easy-to-digest code examples for specific tasks in about 30 lines of code or less. Queue with …

  2. Yes/No/Cancel Dialog - GitHub Pages

    23 import Swal from 'sweetalert2' import './styles.css' Swal. fire({ title: 'Do you want to save the changes?', showDenyButton: true, showCancelButton: true,

  3. SweetAlert2 + React example

    SweetAlert2 + React example Here's our official React integration: https://github.com/sweetalert2/sweetalert2-react-content It allow you to pass JSX/TSX as …

  4. Colored Toasts - sweetalert2.github.io

    36 import Swal from 'sweetalert2' import './styles.css' const Toast = Swal. mixin({ toast: true, position: 'center', iconColor: 'white',

  5. Login Form - GitHub Pages

    In the function defined for this propertty we are checking if either the user name or the password are empty, and if one of them is, we use Swal.showValidationMessage () to show an error …

  6. Sidebars and Drawers (Left, Right, Top, Bottom) - GitHub Pages

    import Swal from 'sweetalert2' ;(async () => { // LEFT SIDEBAR await Swal. fire({ title: 'Left sidebar 👋', position: 'top-start', showClass: {

  7. SweetAlert2 + Laravel example

    You can now run Swal::fire () anywhere in your Laravel application (controllers, middleware, etc.) to show a SweetAlert2 alert: use SweetAlert2 \ Laravel \ Swal;

  8. Validation Message with a Custom Icon - GitHub Pages

    16 import Swal from 'sweetalert2' import './styles.css' Swal. fire({ title: 'Enter your name', input: 'text', customClass: {

  9. Queue with Progress Steps - GitHub Pages

    27 import Swal from 'sweetalert2' const steps = ['1', '2', '3'] const Queue = Swal. mixin({ progressSteps: steps, confirmButtonText: 'Next >', showClass: { backdrop: 'swal2-noanimation' },

  10. input [number] + input [range] - GitHub Pages

    import Swal from 'sweetalert2' const inputValue = 345.67 const inputStep = 0.01 Swal. fire({ title: 'input [number] + input [range]', html: ` <input