❄️ The winter sale is here. 25% off for a limited time. Join us →
Building Modals in Livewire

10. Trapping focus in modals

Source code on GitHub

Build your own modal functionality in Livewire, completely from scratch!

We’ll cover creating a re-usable modal wrapper, transitions, triggering modals from anywhere with our own Alpine functionality, trapping focus inside modals, layering modals correctly, and more.