Livewire - Tailwind Toggle Switch

Tech Stack: tailwindcss, alpine-js, livewire

Demo

Name Email Active
Rebecca Erdman vsteuber@example.com
Lonnie Ryan wkeebler@example.com
Ana Barton III hyatt.georgiana@example.org
Dimitri Leuschke Jr. lucinda.shanahan@example.net
Linnie Morissette zieme.muhammad@example.org
Bettye Steuber batz.lilly@example.com
Ophelia Krajcik auer.jalon@example.com
Marjorie Jaskolski german57@example.org
Pansy Bradtke delores.wintheiser@example.com
Stephan Larson DDS rhett.rosenbaum@example.org

Code
Please login to View/Download the Code

Sorry, this component's code is restricted
Get Livewiredemos-Pro
Sorry, this component's code is restricted
Get Livewiredemos-Pro

Usage


      @livewire(
    'toggle-switch',
    [
        'model' => $User,
        'field' => 'isActive',
    ],
    key($User->id),
)