CheckboxInput
CheckboxInput toggles a single on/off value. Use it for settings like "Enable notifications", terms acceptance, or opt-in choices. Compose multiple CheckboxInput elements in a Stack when several choices are needed.
| Parameter | Description |
|---|---|
| label | Visible field label. |
| value | Selected boolean value. |
| if | Conditional rendering expression. |
Usage
xml<CheckboxInput label="Active" value="$form.active" />