About Bootstrap 5.2 form you can see here

In the Daniel template, we can add the form control switcher, that you find in the demo for layout toggle. Each form control switcher uses all same colors as buttons. See example below.

<div class="form-switcher">
    <label class="switch switch-primary">
        <input type="checkbox" class="switch-input" checked>
        <span class="switch-slider">
            <span class="switch-slider-pointer"></span>
        </span>
    </label>
</div>
<div class="form-switcher">
    <label class="switch switch-secondary">
        <input type="checkbox" class="switch-input" checked>
        <span class="switch-slider">
            <span class="switch-slider-pointer"></span>
        </span>
    </label>
</div>
<div class="form-switcher">
    <label class="switch switch-warning">
        <input type="checkbox" class="switch-input" checked>
        <span class="switch-slider">
            <span class="switch-slider-pointer"></span>
        </span>
    </label>
</div>
<div class="form-switcher">
    <label class="switch switch-danger">
        <input type="checkbox" class="switch-input" checked>
        <span class="switch-slider">
            <span class="switch-slider-pointer"></span>
        </span>
    </label>
</div>
<div class="form-switcher">
    <label class="switch switch-info">
        <input type="checkbox" class="switch-input" checked>
        <span class="switch-slider">
            <span class="switch-slider-pointer"></span>
        </span>
    </label>
</div>