v2 beta docs. Upgrade guide Back to v1

Toggle



<x-toggle label="Left" wire:model="item1" />
 
<x-toggle label="Left" wire:model="item1" hint="Please, turn it off now!" />
<hr class="border-base-300" />
 
<x-toggle label="Right" wire:model="item2" right />
 
<x-toggle label="Right" wire:model="item2" hint="Please, turn it off now!" right />
<hr class="border-base-300" />
 
<x-toggle wire:model="item3" class="self-start">
<x-slot:label>
This is <br>a very <br> long line.
</x-slot:label>
</x-toggle>

Made with by Robson TenĂ³rio and contributors.