Switch component to ON/OFF any button
This will help you to make a button which can be in one of the 2 states ,
ON/OFF (like boolean datastructures)
<!-- Rectangular switch --> <label class="switch"> <input type="checkbox"> <span class="slider"></span> </label> <!-- Rounded switch --> <label class="switch"> <input type="checkbox" bg-color="blue"> <span class="slider round">Switch</span> </label>
Last updated 9 months ago