@extends('layouts/layoutMaster') @section('title', 'SweetAlert2 - Extended UI') @section('vendor-style') @vite([ 'resources/assets/vendor/libs/animate-css/animate.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss' ]) @endsection @section('vendor-script') @vite([ 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js' ]) @endsection @section('page-script') @vite([ 'resources/assets/js/extended-ui-sweetalert2.js' ]) @endsection @section('content')

Extended UI / SweetAlert2

Basic Examples
SweetAlert automatically centers itself on the page and looks great no matter if you're using a desktop computer, mobile or tablet. It's even highly customizable, as you can see below!
Position
You can specify position of your alert with {position : top-start | top-end | bottom-start | bottom-end} in js
Animations
Use popup inside showClass parameter to add animation to alert
Types
Use icon parameter to create a alert with type.
Options
Confirm Options

Confirm Button Action

Confirm & Cancel Button Action

@endsection