Checkbox
The native checkbox with a styled box, a check icon and an indeterminate state.
Binding and callback
bind:checked keeps a state in step with the box; onCheckedChange runs on every change. Both compose: the
component renders a real <input type="checkbox">, so it
also takes part in plain FormData submissions via name.
States
Checked, indeterminate for a partly checked group, and disabled.