
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@rn-components-kit/checkbox
Advanced tools
Allow users to complete tasks that involve making choices such as selecting options, or switching settings on or off
English | ä¸ć–‡
CheckBoxes allow users to complete tasks that involve making choices such as selecting options, or switching settings on or off.
npm install @rn-components-kit/checkbox --save
| Preview | Code |
|---|---|
![]() | Demo1 Code |
![]() | Demo2 Code |
| Demo3 Code | |
![]() | Demo4 Code |
styletitletitleStyleiconSizedisabledcheckedcheckedIconTypecheckedIconColorcheckedImageunCheckedIconTypeunCheckedIconColorunCheckedImageanimationTypeonPressstyleAllow you to customize style
| Type | Required | Default |
|---|---|---|
| object | no | - |
titleTitle of checkbox
| Type | Required | Default |
|---|---|---|
| string | yes | - |
titleStyleAllows you to customize title's style
| Type | Required | Default |
|---|---|---|
| object | no | - |
iconSizeSize of icon (or width and height for image, if you specify checkedImage/unCheckedImage)
| Type | Required | Default |
|---|---|---|
| number | no | 20 |
disabledDetermines whether checkbox is available
| Type | Required | Default |
|---|---|---|
| boolean | no | false |
checkedFlag for checking the icon
| Type | Required | Default |
|---|---|---|
| boolean | no | false |
checkedIconTypeChecked icon (Icon Preset)
| Type | Required | Default |
|---|---|---|
| string | no | 'check-square-fill' |
checkedIconColorColor of checked icon
| Type | Required | Default |
|---|---|---|
| string | no | '#1890FF' |
checkedImageIf you are not satisfied with icon preset, you can specify an image for checked icon
| Type | Required | Default |
|---|---|---|
| string | no | - |
unCheckedIconTypeUnChecked icon (Icon Preset)
| Type | Required | Default |
|---|---|---|
| string | no | 'border' |
unCheckedIconColorColor of unChecked icon
| Type | Required | Default |
|---|---|---|
| string | no | '#BFBFBF' |
unCheckedImageIf you are not satisfied with icon preset, you can specify an image for unChecked icon
| Type | Required | Default |
|---|---|---|
| string | no | - |
animationTypeDetermines which animation is adpoted when checked value changes
| Type | Required | Default |
|---|---|---|
enum('none', 'opacity', 'size') | no | 'opacity' |
onPress() => void
A callback will be triggered when checkbox is pressed
| Type | Required | Default |
|---|---|---|
| function | no | () => {} |
FAQs
Allow users to complete tasks that involve making choices such as selecting options, or switching settings on or off
We found that @rn-components-kit/checkbox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.