Checkbox

Standard checkbox with label text, custom indicator styling, and keyboard support.

Basic Checkboxes

Required

Disabled

Check a box to see output...
PHP

PHP PHP Methods (Fluent)

Method / PropertyParametersDescription
$m->checkbox($id)stringCreate a checkbox component.
->name($name)stringForm field name.
->value($value)stringValue submitted when checked.
->checked($checked)boolSet checked state (default: true).
->disabled($disabled)boolDisable the checkbox.
->required($req)boolMark as required.
->label($label)stringLabel text beside the checkbox.