Checkbox Component
The Checkbox component allows users to select one or more options from a set.
Checkbox
<input type="checkbox" name="gender" class="form-check" />
<input type="checkbox" name="gender" className="form-check" />
Checkbox with Label
<div class="form-control">
<input type="checkbox" name="5g" id="5g" class="form-check" />
<label for="5g" class="form-label">5G</label>
</div>
<div class="form-control">
<input type="checkbox" name="blutooth" id="blutooth" class="form-check" />
<label for="blutooth" class="form-label">Bluetooth</label>
</div>
<div className="form-control">
<input type="checkbox" name="5g" id="5g" className="form-check" />
<label for="5g" className="form-label">5G</label>
</div>
<div className="form-control">
<input type="checkbox" name="blutooth" id="blutooth" className="form-check" />
<label for="blutooth" className="form-label">Bluetooth</label>
</div>