Atlas
.atlas-switch

Switch

Single boolean toggle with immediate effect. Use is-on class or aria-checked.

.atlas-switch.is-on

States

Off
On

With label

<label style="display:inline-flex;align-items:center;gap:10px;font-size:13px;cursor:pointer">
  <button class="atlas-switch is-on" role="switch" aria-checked="true"></button>
  <span>Analytics opt-in</span>
</label>