Bootstrap 5 Checkbox Style Example

Bootstrap 5 checkbox style example where we have created two Bootstrap default checkboxes, which we have made one check and the second uncheck.

HTML

<!-- Checked -->
<div class="form-check">      
    <label class="form-check-label">
        <input class="form-check-input" type="checkbox" value="" checked> Default checkbox
    </label>
</div>

<!-- Uncheck -->
<div class="form-check">      
    <label class="form-check-label">
        <input class="form-check-input" type="checkbox" value=""> Default checkbox
    </label>
</div>

<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>