Socket
Book a DemoInstallSign in
Socket

react-native-motion-tabs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-motion-tabs

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.

Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

🎨 react-native-motion-tabs

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:

  • Create engaging navigation experiences
  • Stand out with unique tab bar designs
  • Maintain native performance while adding rich animations
  • Implement custom navigation patterns quickly

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.

Features

  • Pre-configured smooth animations
  • Customizable styles and colors
  • Built-in icon support
  • TypeScript support
  • Works with React Navigation

Installation

yarn add react-native-motion-tabs

# Peer dependencies
yarn add @react-navigation/native @react-navigation/bottom-tabs react-native-reanimated react-native-vector-icons react-native-screens react-native-safe-area-context

Usage

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>
  );
}

Meowtive

To see MotionTabs in action, check out Meowtive!

Theme options

type TabTheme = {
  activeColor?: string;
  inactiveColor?: string;
  backgroundColor?: string;
  shadowColor?: string;
  tabBarHeight?: number;
  marginHorizontal?: number;
};

Icon Support

  • Ionicons
  • MaterialIcons
  • Entypo

Contributing

See our Contributing Guide

Support

If this library helped you, consider:

License

MIT © Filipi Rafael

Made with ❤️ by @filipirafael

Keywords

react-native

FAQs

Package last updated on 02 Jan 2025

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