
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
react-native-radio-button
Advanced tools
Just a simple radio button for React-Native.

npm install --save react-native-radio-buttonimport RadioButton from 'react-native-radio-button'
You can just copy RadioButton.js in your project and use it directly (react-native-animatable is required to make it work this way).
Not much to say here, the component itself is just presentational: you must handle the logic outside of it:
<RadioButton
animation={'bounceIn'}
isSelected={true}
onPress={() => doSomething('hello')}
/>
| Prop | Description | Default |
|---|---|---|
size | Size of the Radio Button. | 16 |
innerColor | Color of the inner circle. | dodgerblue |
outerColor | Color of the outer circle. | dodgerblue |
isSelected | Is this Radio Button selected? | false |
onPress | Function invoked on button press. | None |
The Radio Button is animated by the awesome react-native-animatable.
To enable the animation you can just pass it any react-native-animatable props (e.g. animation, duration, etc...).
Hint: animation={'bounceIn'} is the animation that you can see in the preview gif above.
As you can see by taking a look at RadioButton.js the component is plain simple and you can modify it easily.
If you're interested there's also a version of it written in a more function style here.
FAQs
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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.