Checkbox
Basic 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
bool
Defaultfalse(
Boolean
):true
if the state should be checked,false
otherwise. This prop can be used to manage the Checkbox more directly, overriding the default Checkbox checked state. - onChange
func
Default() => {}(
Boolean
):true
if the checkbox should be disabled,false
otherwise - 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.46.3 | 5 | |
frontend-app-authn | 20.46.2 | 3 | |
frontend-app-communications | 20.46.2 | 2 | |
frontend-app-course-authoring | 20.46.2 | 3 | |
frontend-app-discussions | 20.44.0 | 2 | |
frontend-app-learner-record | 20.46.3 | 1 | |
frontend-app-learning | 20.46.0 | 1 | |
frontend-app-library-authoring | 21.5.6 | 1 | |
frontend-app-support-tools | 20.46.0 | 1 | |
frontend-lib-content-components | 21.5.6 | 4 | |
frontend-lib-special-exams | 20.44.0 | 1 | |
prospectus | 20.46.2 | 24 |