A React Native component for implementing two-level tab menus with nested categories and items.
react-native-tab is a React Native component library for creating two-level tab menus in mobile applications. It solves the problem of displaying hierarchical data with selectable categories and sub-items, such as in filtering interfaces or multi-level navigation systems. The component accepts a structured data object and provides configurable default selections.
React Native developers building apps that require tab-based navigation with nested menus, such as e-commerce filters, location selectors, or category browsers.
Developers choose react-native-tab for its simplicity and focused functionality—it offers a straightforward solution for a common UI pattern without unnecessary complexity, with easy integration via props for data and selection handling.
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.
Accepts a straightforward JSON structure for tabs and sub-items, as demonstrated in the demos with clear examples for languages and location selectors.
Allows setting initial selections via tabSelected and nSelected props, enabling quick setup without extra logic for common use cases.
Provides a minimal API specifically for two-level tab menus, avoiding bloat and making it easy to implement basic hierarchical interfaces.
Demos use React.createClass, which is deprecated in modern React, suggesting potential compatibility issues and a lack of updates.
README lacks detailed explanations, relying on images, and offers no guidance on styling, event handling beyond alerts, or support for newer React Native features.