Github

Here you can you play with Livewire Alert Component. Check out SweetAlert2 official documentation for more details about alert configuration.

Generated Code

You can copy generated code below for your convenience and just modify it for your needs.

1$this->alert('success', 'Hello!', [
2 'position' => 'center',
3 'timer' => 3000,
4 'toast' => true,
5]);

© Livewire Alert 2024.

Built with TALL Stack