Pick a theme
Error state toggle
The label for the input
If true - label is shown on the left side of the input
Name for the checkbox input
Value to be sent in form-data when checked
Value to be sent in form-data when not checked. Will create a separate hidden input if set.
Additional style classes for the checkbox
Makes element readonly by setting onclick=”return false”
a form field struct retrieved from the form, for example: @form[:email]
If true - minus icon is shown instead of check to indicate checked state
Additional attributes for the checkbox
Slot for additional content
Slot for replacing the icon