Checkbox
Beta

Install the component dependency:

Include a React component in your project:

Name
Value
Description
Default
checked
boolean
marks as selected
false
disabled
boolean
standard input disable flag
false
error
boolean
error state flag
false
innerRef
DOM element => ()
input field react ref callback
name
string
form data identifier
label
Required
node
display name
onCheck
(DOM event, checked, value, name) => ()
triggers on check toggle
value
string | number
form value when checked

The normal React form-related props are also acceptable and expected.

Checked:

Passing the checked indicates that the checkbox is active.

Disabled checkboxes are unmodifiable and diminished visually.

Error states are engaged with the error flag.