
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
rc-checkbox
Advanced tools
Checkbox ui component for react.
import checkbox from 'rc-checkbox';
export default () => <checkbox />;
![]() IE / Edge | ![]() Firefox | ![]() Chrome | ![]() Safari | ![]() Electron |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
| name | type | default | description |
|---|---|---|---|
| prefixCls | String | rc-checkbox | |
| className | String | '' | additional class name of root node |
| name | String | same with native input checkbox | |
| checked | enum: 0,1,2 | ||
| defaultChecked | enum: 0,1,2 | 0 | same with native input checkbox |
| onChange | Function(e:Event, checked:Number) | called when checkbox is changed. e is native event, checked is original checked state. |
npm install
npm start
Online demo: http://react-component.github.io/checkbox/
rc-checkbox is released under the MIT license.
This package provides a set of React components for creating a group of checkboxes. It differs from rc-checkbox by focusing on groups of checkboxes rather than individual ones.
React-custom-checkbox is a package that allows for more extensive customization of the checkbox appearance. It offers a different approach to styling compared to rc-checkbox, which might be preferable for developers looking for more design control.
React-toggle is similar to rc-checkbox in that it provides toggle components for React apps. However, it is styled to look like an iOS switch and is more specialized for that toggle switch appearance.
FAQs
checkbox ui component for react
The npm package rc-checkbox receives a total of 1,832,791 weekly downloads. As such, rc-checkbox popularity was classified as popular.
We found that rc-checkbox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.