New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reanimated-tab-navigator

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reanimated-tab-navigator

A customizable animated bottom tab navigator for React Native

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
0
Weekly downloads
 
Created
Source

React Native Animated Tab Navigator

A customizable animated bottom tab navigator for React Native applications.

Installation

bash npm install reanimated-tab-navigator or yarn add reanimated-tab-navigator

Dependencies

This package requires the following dependencies:

  • react-native-reanimated
  • react-native-gesture-handler
  • react-native-safe-area-context
  • react-native-screens
  • react-native-tab-view
  • expo-linear-gradient

Usage

javascript import { createBottomTabNavigator } from "@react-navigation/bottom-tabs"; import { CustomTabBar } from 'react-native-animated-tab-navigator'; const Tab = createBottomTabNavigator(); export default function Navigation() { return ( <Tab.Navigator screenOptions={{ headerShown: false, }} tabBar={props => <CustomTabBar {...props} />}

<Tab.Screen name="Home" component={HomeScreen} options={{ tabBarLabel: 'Home' }} /> <Tab.Screen name="Profile" component={ProfileScreen} options={{ tabBarLabel: 'Profile' }} /> </Tab.Navigator> ); }

Customization

You can customize the tab bar appearance by passing props:

<CustomTabBar activeColor="#YOUR_COLOR" inactiveColor="#YOUR_COLOR" gradientColors={['#COLOR1', '#COLOR2']} />

Props

PropTypeDefaultDescription
activeColorstring'#ffffff'Color of active tab
inactiveColorstring'#ffffff'Color of inactive tab
gradientColorsarray['#4A0494', '#A445B2']Colors for the gradient background

License

MIT

Keywords

FAQs

Package last updated on 30 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc