Checkbox
Standard checkbox with label text, custom indicator styling, and keyboard support.
Basic Checkboxes
Required
Disabled
Check a box to see output...
PHP PHP Methods (Fluent)
| Method / Property | Parameters | Description |
|---|---|---|
$m->checkbox($id) | string | Create a checkbox component. |
->name($name) | string | Form field name. |
->value($value) | string | Value submitted when checked. |
->checked($checked) | bool | Set checked state (default: true). |
->disabled($disabled) | bool | Disable the checkbox. |
->required($req) | bool | Mark as required. |
->label($label) | string | Label text beside the checkbox. |