Toggle Switch

In Tabler we can see the next switch component which have the peculiarity of having type="checkbox".

<label class="form-check form-switch">
  <input class="form-check-input" type="checkbox" checked>
  <span class="form-check-label">Option 1</span>
</label>

Just like the checkbox in shiny.

shiny::checkboxInput("test", "Test", TRUE)
<div class="form-group shiny-input-container">
  <div class="checkbox">
    <label>
      <input id="test" type="checkbox" class="shiny-input-checkbox" checked="checked"/>
      <span>Test</span>
    </label>
  </div>
</div>