A customizable React Native component for implementing radio-button-like selection behaviors with a SegmentedControls clone.
react-native-radio-buttons is a React Native library that provides a component for implementing radio-button-like selection behaviors, where only one option can be selected at a time. It solves the need for customizable radio button interfaces in mobile apps, offering a flexible alternative to native components. The library includes a SegmentedControls clone with enhanced styling and rendering options.
React Native developers building mobile applications that require customizable radio button or segmented control interfaces, especially those needing more flexibility than native components provide.
Developers choose this library for its high customization capabilities, including fully customizable rendering and styling, and its SegmentedControls clone that offers more control than the native version. It provides a lightweight, JavaScript-based solution for radio-button logic in React Native.
[DEPRECATED] A Radio-button like logic wrapper for React Native
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows full control over UI rendering via props like renderContainer and renderOption, enabling any design, as shown in the usage examples where developers can pass custom functions.
Provides a JavaScript clone of native SegmentedControls with enhanced styling options, such as custom tints and borders, detailed in the SegmentedControls props section.
Supports arrays of any data type and includes props like extractText and testOptionEqual for handling complex objects, making it versatile for various use cases.
Includes helpers like renderVerticalContainer and getTextOptionRenderer for quick setup, reducing boilerplate code as demonstrated in the helpers section.
The README explicitly states the package is deprecated in favor of SegmentedControlIOS, meaning no updates, bug fixes, or compatibility with newer React Native versions.
The README mentions 'animations to come' but as it's deprecated, animations were never implemented, limiting visual feedback and modern UI expectations.
Requires writing extensive custom code for rendering and styling, which can be verbose and time-consuming compared to more opinionated or drop-in components.