Checkbox
Leave feedbackBasic usage
Show editable code example
Any Paragon component or export may be added to the code example.
Disabled
Show editable code example
Any Paragon component or export may be added to the code example.
Default checked
Show editable code example
Any Paragon component or export may be added to the code example.
Call a function
Show editable code example
Any Paragon component or export may be added to the code example.
Controlled example
Show editable code example
Any Paragon component or export may be added to the code example.
Props API#
Check Props API
- checked
boolDefaultfalse(
Boolean):trueif the state should be checked,falseotherwise. This prop can be used to manage the Checkbox more directly, overriding the default Checkbox checked state. - onChange
funcDefault() => {}(
Boolean):trueif the checkbox should be disabled,falseotherwise - inputRef
func|shape{current:}PropTypes.element,function to be called when the checkbox changes state
Usage Insights#
Check
| Project Name | Paragon Version | Instance Count | |
|---|---|---|---|
| frontend-app-admin-portal | 20.39.2 | 2 | |
| frontend-app-authn | 20.45.5 | 3 | |
| frontend-app-communications | 20.45.0 | 2 | |
| frontend-app-course-authoring | 20.35.1 | 2 | |
| frontend-app-discussions | 20.44.0 | 2 | |
| frontend-app-learner-record | 20.45.0 | 1 | |
| frontend-app-learning | 20.28.4 | 1 | |
| frontend-lib-content-components | 20.45.0 | 4 | |
| frontend-lib-special-exams | 20.29.0 | 1 | |
| prospectus | 20.45.2 | 17 |