Forms
Checks & radios
Checkboxes, radios, and toggle switches.
Checkboxes
Wrap a checkbox in a .bima-choice label for consistent spacing and click-area sizing.
<label class="bima-choice"> <input type="checkbox" class="bima-check" checked> Life insurance coverage </label> <label class="bima-choice"> <input type="checkbox" class="bima-check"> Accidental death benefit </label> <label class="bima-choice"> <input type="checkbox" class="bima-check" disabled> Critical illness rider (unavailable) </label>
Radios
Use .bima-radio inside .bima-choice for radio button groups. All radios in a group must share the same name attribute.
<label class="bima-choice"> <input type="radio" class="bima-radio" name="payment" value="monthly" checked> Monthly payments </label> <label class="bima-choice"> <input type="radio" class="bima-radio" name="payment" value="quarterly"> Quarterly payments </label> <label class="bima-choice"> <input type="radio" class="bima-radio" name="payment" value="annual"> Annual payment (5% discount) </label>
Toggle switches
Use .bima-switch inside .bima-choice for a toggle switch. Switches use checkbox semantics.
<label class="bima-choice"> <input type="checkbox" class="bima-switch" checked> Email notifications enabled </label> <label class="bima-choice"> <input type="checkbox" class="bima-switch"> SMS alerts </label> <!-- Disabled --> <label class="bima-choice"> <input type="checkbox" class="bima-switch" disabled checked> Auto-renew (managed by admin) </label>
Inline layout
Add .bima-choice--inline to display choices horizontally.
<label class="bima-choice bima-choice--inline"> <input type="checkbox" class="bima-check" checked> Option A </label> <label class="bima-choice bima-choice--inline"> <input type="checkbox" class="bima-check"> Option B </label>