Skip to content

Toggle

View Example
<div class="l-center" style="--cr-max-width: var(--bp-20); margin-top: var(--vertical-rhythm)">

  <label class="l-cluster">
    <button
        role="switch" 
        aria-checked="false" 
        type="button">
    </button>
    <span>Toggle Me</span>
  </label>
  </div>

A simple, accessible, animated toggle switch