Theme

PlaygroundBeta

npm_versionnpm Paragon package page

Checkbox

Basic usage

Any Paragon component or export may be added to the code example.

Disabled

Any Paragon component or export may be added to the code example.

Default checked

Any Paragon component or export may be added to the code example.

Call a function

Any Paragon component or export may be added to the code example.

Controlled example

Any Paragon component or export may be added to the code example.

Props API#

Check Props API
  • checked bool

    (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.

    Defaultfalse
  • onChange func

    (Boolean): true if the checkbox should be disabled, false otherwise

    Default() => {}
  • inputRef func | shape {
    current: PropTypes.element,
    }

    function to be called when the checkbox changes state

Usage Insights#

Check

Project NameParagon VersionInstance Count
frontend-app-admin-portal20.26.32
frontend-app-authn20.34.03
frontend-app-communications20.30.12
frontend-app-course-authoring20.32.02
frontend-app-discussions20.15.02
frontend-app-learner-record20.32.01
frontend-app-learning20.28.41
frontend-lib-content-components20.32.04
frontend-lib-special-exams20.22.41
prospectus20.32.310