<!--
  Copyright IBM Corp. 2016, 2018

  This source code is licensed under the Apache-2.0 license found in the
  LICENSE file in the root directory of this source tree.
-->

<div class="{{prefix}}--form-item">
  <input class="{{prefix}}--toggle-input {{prefix}}--toggle-input--small" id="smalltoggle1" type="checkbox">
  <label class="{{prefix}}--toggle-input__label" for="smalltoggle1"
    aria-label="example toggle with state indicator text">
    <span class="{{prefix}}--toggle__switch">
      <svg class="{{@root.prefix}}--toggle__check" width="6px" height="5px" viewBox="0 0 6 5">
        <path d="M2.2 2.7L5 0 6 1 2.2 5 0 2.7 1 1.5z" />
      </svg>
      <span class="{{prefix}}--toggle__text--off" aria-hidden="true">Off</span>
      <span class="{{prefix}}--toggle__text--on" aria-hidden="true">On</span>
    </span>
  </label>
</div>

<div class="{{prefix}}--form-item">
  <input class="{{prefix}}--toggle-input {{prefix}}--toggle-input--small" id="smalltoggle2" type="checkbox">
  <label class="{{prefix}}--toggle-input__label" for="smalltoggle2">
    Toggle with visible label
    <span class="{{prefix}}--toggle__switch">
      <svg class="{{@root.prefix}}--toggle__check" width="6px" height="5px" viewBox="0 0 6 5">
        <path d="M2.2 2.7L5 0 6 1 2.2 5 0 2.7 1 1.5z" />
      </svg>
      <span class="{{prefix}}--toggle__text--off" aria-hidden="true">Off</span>
      <span class="{{prefix}}--toggle__text--on" aria-hidden="true">On</span>
    </span>
  </label>
</div>

<div class="{{prefix}}--form-item">
  <input class="{{prefix}}--toggle-input {{prefix}}--toggle-input--small" id="smalltoggle4" type="checkbox" disabled>
  <label class="{{prefix}}--toggle-input__label" for="smalltoggle4"
    aria-label="example disabled toggle with state indicator text">
    <span class="{{prefix}}--toggle__switch">
      <svg class="{{@root.prefix}}--toggle__check" width="6px" height="5px" viewBox="0 0 6 5">
        <path d="M2.2 2.7L5 0 6 1 2.2 5 0 2.7 1 1.5z" />
      </svg>
      <span class="{{prefix}}--toggle__text--off" aria-hidden="true">Off</span>
      <span class="{{prefix}}--toggle__text--on" aria-hidden="true">On</span>
    </span>
  </label>
</div>

<div class="{{prefix}}--form-item">
  <input class="{{prefix}}--toggle-input {{prefix}}--toggle-input--small" id="smalltoggle5" type="checkbox" disabled>
  <label class="{{prefix}}--toggle-input__label" for="smalltoggle5">
    Toggle with visible label
    <span class="{{prefix}}--toggle__switch">
      <svg class="{{@root.prefix}}--toggle__check" width="6px" height="5px" viewBox="0 0 6 5">
        <path d="M2.2 2.7L5 0 6 1 2.2 5 0 2.7 1 1.5z" />
      </svg>
      <span class="{{prefix}}--toggle__text--off" aria-hidden="true">Off</span>
      <span class="{{prefix}}--toggle__text--on" aria-hidden="true">On</span>
    </span>
  </label>
</div>
