Gathering detailed insights and metrics for react-native-radio-buttons-group
Gathering detailed insights and metrics for react-native-radio-buttons-group
Gathering detailed insights and metrics for react-native-radio-buttons-group
Gathering detailed insights and metrics for react-native-radio-buttons-group
react-native-radio-buttons-group-with-test-ids
Simple and Best. An easy to use radio buttons for react native apps.
react-native-radio-buttonx
test
rn-radio-button-group
Simple Radio Button Component for React Native - iOS and Android
react-native-bouncy-checkbox-group
Fully customizable bouncy checkbox group for React Native
Simple, best and easy to use radio buttons for react native apps.
npm install react-native-radio-buttons-group
Typescript
Module System
Node Version
NPM Version
Accessibility
Updated on Sep 30, 2023
Accessibility
Updated on Aug 27, 2023
v3.0.0 zero dependencies
Updated on May 11, 2023
v2.3.1 added devDependencies
Updated on Feb 11, 2023
v2.3.0 add border size as optional property
Updated on Jan 02, 2023
v2.2.11 add description field
Updated on Jun 06, 2022
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
295 Stars
120 Commits
73 Forks
2 Watchers
2 Branches
16 Contributors
Updated on Jul 12, 2025
Latest Version
3.1.0
Package Id
react-native-radio-buttons-group@3.1.0
Unpacked Size
108.63 kB
Size
92.37 kB
File Count
9
NPM Version
10.2.4
Node Version
20.11.1
Published on
Mar 12, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Simple, best and easy to use radio buttons for react native apps.
1npm i react-native-radio-buttons-group --save
or
1yarn add react-native-radio-buttons-group
1import React, { useMemo, useState } from 'react'; 2import RadioGroup from 'react-native-radio-buttons-group'; 3 4export default function App() { 5 6 const radioButtons = useMemo(() => ([ 7 { 8 id: '1', // acts as primary key, should be unique and non-empty string 9 label: 'Option 1', 10 value: 'option1' 11 }, 12 { 13 id: '2', 14 label: 'Option 2', 15 value: 'option2' 16 } 17 ]), []); 18 19 const [selectedId, setSelectedId] = useState(); 20 21 return ( 22 <RadioGroup 23 radioButtons={radioButtons} 24 onPress={setSelectedId} 25 selectedId={selectedId} 26 /> 27 ); 28 29} 30
1import React, { useMemo, useState } from 'react'; 2import RadioGroup, {RadioButtonProps} from 'react-native-radio-buttons-group'; 3 4export default function App() { 5 6 const radioButtons: RadioButtonProps[] = useMemo(() => ([ 7 { 8 id: '1', // acts as primary key, should be unique and non-empty string 9 label: 'Option 1', 10 value: 'option1' 11 }, 12 { 13 id: '2', 14 label: 'Option 2', 15 value: 'option2' 16 } 17 ]), []); 18 19 const [selectedId, setSelectedId] = useState<string | undefined>(); 20 21 return ( 22 <RadioGroup 23 radioButtons={radioButtons} 24 onPress={setSelectedId} 25 selectedId={selectedId} 26 /> 27 ); 28 29} 30
Key | Type | Required | Default | Valid Values |
---|---|---|---|---|
accessibilityLabel | string | no | Value of label | any string |
borderColor | string | no | color | css color formats |
borderSize | number | 2 | positive numbers | |
color | string | no | #444 | css color formats |
containerStyle | object | no | react style | |
description | ReactNode or string | no | any react node or string | |
descriptionStyle | object | no | react style, applied only if description is a string | |
disabled | boolean | no | false | true / false |
id | string | yes | unique string | |
label | ReactNode or string | no | any react node or string | |
labelStyle | object | no | react style, applied only if label is a string | |
layout | enum | no | row | row / column |
onPress | function | no | any function | |
selected | boolean | no | false | true / false |
size | number | no | 24 | positive numbers |
testID | string | no | any string | |
value | string | no | any string |
Key | Type | Required | Default | Valid Values |
---|---|---|---|---|
accessibilityLabel | string | no | any string | |
containerStyle | object | no | react style | |
labelStyle | object | no | react style | |
layout | enum | no | column | row / column |
onPress | function | no | any function | |
radioButtons | array | yes | array of RadioButton objects | |
selectedId | string | no | unique string | |
testID | string | no | any string |
1<RadioGroup 2 radioButtons={radioButtons} 3 onPress={onPressRadioButton} 4 layout='row' 5/>
Fork and create a pull request
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 8/17 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More