Toggle switches using <input type="checkbox" role="switch">.
<input type="checkbox" role="switch">
← Back to examples
Toggle dark mode