Checkbox | NativeBase | Universal Components for React and React Native

Hire us
Please opt in to our enterprise plan (coming soon) for priority support with NativeBase. If you are starting a new project, we recommend using gluestack-ui. For your existing projects, you can utilize @gluestack-ui/themed-native-base (beta).
Migrating to v3 will provide a lot more design, size, color and customisation option.
Migrating Checkbox components can broadly described in these points:
checked props is deprecated, instead now we provide you with defaultIsChecked and isChecked prop to better manage your checkbox. For most cases checked can be replaced with isChecked.
Colors of the Checkbox: In v3 the color is controlled by colorScheme prop. And it accepts all the color available in the theme.
onPress props is deprecated, instead v3 provides onChange which provides a callback when state of the checkbox change.
Code Comparison
Nativebase logo