
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
react-native-motion-tabs
Advanced tools
A lightweight, customizable animated bottom tabs navigator for React Native. Built on top of React Navigation, it provides smooth animations, icon customization, and an intuitive API for creating beautiful tab bars with minimal setup.
A lightweight, highly customizable bottom tabs navigator for React Native that brings life to your navigation with smooth, fluid animations. Built on top of React Navigation, it combines elegant transitions, rich icon support, and an intuitive API to create beautiful tab bars that enhance user experience.
Perfect for apps that want to:
Powered by React Native Reanimated, it provides butter-smooth animations while maintaining 60 FPS. The library seamlessly integrates with React Navigation's ecosystem while adding a layer of motion and interactivity that makes your app feel more dynamic and responsive.
https://github.com/user-attachments/assets/3b37176b-0ba3-43f7-b1e0-513fb514e825
# Core library
yarn add react-native-motion-tabs
# React Navigation
yarn add @react-navigation/native @react-navigation/bottom-tabs
# React Native dependencies
yarn add react-native-reanimated react-native-vector-icons react-native-screens react-native-safe-area-context react-native-gesture-handler
Update your babel.config.js
:
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['react-native-reanimated/plugin'],
};
In your index.js
or index.ts
:
import 'react-native-gesture-handler';
Create react-native.config.js
in your project root:
module.exports = {
assets: ['./node_modules/react-native-vector-icons/Fonts'],
};
Add the following line just before the final end
clause in your Podfile
:
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
Placing it before the final end ensures it's part of the target configuration, integrating the vector icons with your project's build process.
Add the following block of code just before the final closing </dict>
tag in your Info.plist
file:
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Octicons.ttf</string>
<string>Zocial.ttf</string>
</array>
This ensures the font configurations are part of your app's main configuration dictionary, allowing iOS to properly load the vector icon fonts.
Add these lines at the top of your android/app/build.gradle
file, outside of any existing configuration blocks:
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")
project.ext.react = [
enableHermes: true
]
Placing these at the top ensures they are processed early in the build configuration, before other build settings are applied. This guarantees that the native modules and font configurations are properly integrated into your Android build process.
# For iOS
cd ios
pod install
cd ..
import { View } from 'react-native';
import { createMotionTabs } from 'react-native-motion-tabs';
import { NavigationContainer } from '@react-navigation/native';
function ExampleScreen() {
return <View style={{flex: 1}} />;
}
const Tabs = createMotionTabs({
tabs: [
{
name: 'Home',
component: ExampleScreen,
icon: 'home',
iconType: 'Ionicons',
},
{
name: 'Search',
component: ExampleScreen,
icon: 'search',
iconType: 'Ionicons',
},
{
name: 'Favorites',
component: ExampleScreen,
icon: 'heart',
iconType: 'Ionicons',
},
{
name: 'Profile',
component: ExampleScreen,
icon: 'person',
iconType: 'Ionicons',
},
],
style: {
activeButton: '#EF7E06',
activeText: '#FFFFFF',
inactiveText: '#000000',
backgroundColor: '#FFFFFF',
},
});
export default function App() {
return (
<NavigationContainer>
<Tabs />
</NavigationContainer>
);
}
We support a wide variety of icon libraries:
📱 Explore all available icons at: React Native Vector Icons
To see MotionTabs in action, check out Meowtive!
See our Contributing Guide
If this library helped you, consider:
MIT © Filipi Rafael
Made with ❤️ by @filipiRafael3
FAQs
A lightweight, customizable animated bottom tabs navigator for React Native. Built on top of React Navigation, it provides smooth animations, icon customization, and an intuitive API for creating beautiful tab bars with minimal setup.
We found that react-native-motion-tabs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.