carbon-components
Version:
Carbon Components is a component library for IBM Cloud
22 lines (20 loc) • 811 B
HTML
<div class="bx--form-item">
<input class="bx--toggle bx--toggle--small" id="toggle4" type="checkbox" aria-label="Label Name">
<label class="bx--toggle__label" for="toggle4">
<span class="bx--toggle__appearance">
<svg class="bx--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>
</label>
</div>
<div class="bx--form-item">
<input class="bx--toggle bx--toggle--small" id="toggle5" type="checkbox" aria-label="Label Name" disabled>
<label class="bx--toggle__label" for="toggle5">
<span class="bx--toggle__appearance">
<svg class="bx--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>
</label>
</div>