// Checkbox with an inline label.
component Checkbox {
  props {
    name = ""
    label = ""
    class = ""
  }
  view {
    <label class="wire-check {class}">
      <input type="checkbox" name="{name}" class="wire-check__box">
      <span class="wire-check__label"><slot>{label}</slot></span>
    </label>
  }
}
