Livewire - Tailwind Toggle Switch

Tech Stack: tailwindcss, alpine-js, livewire

Demo

Name Email Active
Mrs. Bonita Lang DVM qhettinger@example.net
Tremaine Gibson schoen.antonia@example.com
Hal Lemke hilda88@example.com
Lizeth Gutmann V jsauer@example.com
Jana Bauch harmon.gusikowski@example.com
Marjolaine Luettgen unikolaus@example.org
Bert Thompson pink.cassin@example.net
Ashtyn Kuvalis hermann.layla@example.org
Delphine Fahey Sr. aisha38@example.net
Rosetta Kuhlman larissa93@example.com

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),
)