Livewire - Tailwind Toggle Switch

Tech Stack: tailwindcss, alpine-js, livewire

Demo

Name Email Active
Isai Abbott abernathy.aurelio@example.net
Devan Bradtke gilbert.carter@example.com
Anissa Zieme stoltenberg.kiana@example.com
Vivienne Abernathy connelly.emanuel@example.com
Itzel Carter DVM carroll.thea@example.org
Alexandre Predovic chanel57@example.com
Jon Schinner marquise43@example.net
Clinton Bailey MD twitting@example.net
Lolita D'Amore DDS elubowitz@example.org
Amely Gottlieb river11@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),
)