Switch
Can be used in forms.
This is an example of a switch.
Although visually different its functionality is the same as a checkbox.
Only the HTML and CSS are necessary to create the input field along with all the interactions. No JavaScript required.
Code: 🔼
Switch (default: checked)
Can be used in forms.
This is an example of a switch.
Although visually different its functionality is the same as a checkbox.
Only the HTML and CSS are necessary to create the input field along with all the interactions. No JavaScript required.