@react-native-segmented-control/segmented-control
A React Native library that provides a component to render UISegmentedControl from iOS.
For the complete documentation index, see llms.txt. Use this Use this file to discover all available pages.
It's like a fancy radio button, or in Apple's words: "A horizontal control that consists of multiple segments, each segment functioning as a discrete button" (source). This component renders to a UISegmentedControl on iOS, and to faithful recreations of that control on Android and web (because no equivalent exists on those platforms' standard libraries).
Installation
- npx expo install @react-native-segmented-control/segmented-controlIf you are installing this in an existing React Native app, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.
Learn more
Get full information on API and its usage.