All Projects → nomi9995 → react-native-curved-bottom-tabbar

nomi9995 / react-native-curved-bottom-tabbar

Licence: other
Curved Bottom Tabbar React Native

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language
Starlark
911 projects

Projects that are alternatives of or similar to react-native-curved-bottom-tabbar

XYTabBarAnimation
tabbar点击动画
Stars: ✭ 27 (+35%)
Mutual labels:  tabbar
QWTabBarTemplate.xctemplate
自定义模版 快速创建带有导航栏和工具栏的工程
Stars: ✭ 44 (+120%)
Mutual labels:  tabbar
buttons tabbar
A Flutter package that implements a TabBar where each label is a toggle button.
Stars: ✭ 49 (+145%)
Mutual labels:  tabbar
Tabby
⛩ A fancy tabbar
Stars: ✭ 104 (+420%)
Mutual labels:  tabbar
react-native-viewpager-carousel
a flexible viewpager library with carousel functionality
Stars: ✭ 39 (+95%)
Mutual labels:  tabbar
KPSmartTabBar
A fully customisable and flexible tab bar controller
Stars: ✭ 37 (+85%)
Mutual labels:  tabbar
react-native-scrollable-tabview
Based on pure JS scripts, without relying on native, no need for react-native link, Title / Header / Tabs / Sticky / Screen components can be flexibly configured, among which Tabs / Sticky can slide When it reaches the top, it will be topped.
Stars: ✭ 136 (+580%)
Mutual labels:  tabbar
TabBarInteraction
A tab bar example that animate based on user interaction
Stars: ✭ 72 (+260%)
Mutual labels:  tabbar
react-native-collapsible-segmented-view
A cross-platform Collapsible Segmented View component for React Native
Stars: ✭ 37 (+85%)
Mutual labels:  tabbar
TabBar
📱 TabBar – highly customizable tab bar for your SwiftUI application.
Stars: ✭ 105 (+425%)
Mutual labels:  tabbar
vue-bottom-navigation
Vue bottom navigation
Stars: ✭ 56 (+180%)
Mutual labels:  curved
flutter-bottomAppBar
Watch the tutorial video on Youtube ->
Stars: ✭ 15 (-25%)
Mutual labels:  tabbar
MaterialesqueTabBar
UIViewController featuring a customisable Tab Bar working with a UIPageViewController.
Stars: ✭ 17 (-15%)
Mutual labels:  tabbar
PageSegment
左右滑动切换页面,TabBar支持小红点显示。
Stars: ✭ 89 (+345%)
Mutual labels:  tabbar
react-native-segment-controller
A react-native segment controller(Tab) for both ios and android.
Stars: ✭ 18 (-10%)
Mutual labels:  tabbar
react-native-tabbar
A tabbar component for React Native
Stars: ✭ 59 (+195%)
Mutual labels:  tabbar
clipped-tabbar
No description or website provided.
Stars: ✭ 58 (+190%)
Mutual labels:  tabbar
react-native-bubble-tabbar
🧼 Bubble Tab Bar Component for React Native which supports React Navigation V5 and TypeScript
Stars: ✭ 43 (+115%)
Mutual labels:  tabbar
Flutter-Bottom-Tab-Bar
No description or website provided.
Stars: ✭ 72 (+260%)
Mutual labels:  tabbar
MightyTabBar
How tab bars should work.
Stars: ✭ 72 (+260%)
Mutual labels:  tabbar

Would you like to support me?

Buy Me A Coffee


react-native-reanimated-curved-tab-bar

react-native-reanimated, react-native-gesture-handler ARE peerDependencies

Built with react-native-gesture-handler and react-native-reanimated.

Fully native 60 FPS animations.

Getting started

$ npm install react-native-curved-bottom-tabbar --save

or

$ yarn add react-native-curved-bottom-tabbar

Requierd Dependencies: react-native-gesture-handler and react-native-reanimated.

Basic Usage

import ReanimatedCurvedTabBar from "react-native-curved-bottom-tabbar";

// TODO:
<View style={styles.con}>
  <ReanimatedCurveTabBar
    // ** Required
    height={230}
    // Array of components (icons) []
    // ** Required
    iconsArray={[...Array(ARRAY_LENGTH)].map((item, index) => (
      <View style={styles.icon}>
        <Text>{index + 1}</Text>
      </View>
    ))}
    // Return icon number
    onPress={(btnNum) => console.log(btnNum)}
    allowDropAnime={true}
  />
</View>;

With Screens Navigation

<View style={styles.con}>
  <ReanimatedCurveTabBar
    // ** Required
    height={230}
    // ** Required
    iconsArray={[...Array(ARRAY_LENGTH)].map((item, index) => (
      <View style={styles.icon}>
        <Text>{index + 1}</Text>
      </View>
    ))}
    onPress={(btnNum) => console.log(btnNum)}
    // Array of Screens
    screensArray={[...Array(ARRAY_LENGTH)].map((item, index) => (
      <View
        style={{
          width,
          height,
          backgroundColor: "eee",
          alignItems: "center",
          justifyContent: "center",
        }}
      >
        <Text>{index + 1}</Text>
      </View>
    ))}
    allowDropAnime={true}
  />
</View>

As react-navigation/bottom-tabs's "tabBar"

<NavigationContainer>
  <Tab.Navigator
    tabBar={(props) => (
      <ReanimatedCurveTabBar
        // ** Required
        {...props}
        // ** Required
        reactNaviagtionBar={true}
        // ** Required
        height={200}
        // ** Required
        iconsArray={[...Array(ARRAY_LENGTH)].map((item, index) => (
          <View style={styles.icon}>
            <Text>{index + 1}</Text>
          </View>
        ))}
        allowDropAnime={true}
      />
    )}
  >
    // Your Screens Here // ** Screens name property must be 1 - screens /
    iconsArray length // ** Screens number equal to iconsArray length // For
    more info look in Example
  </Tab.Navigator>
</NavigationContainer>

Advanced Usage

        <ReanimatedCurveTabBar

          height={230}

          iconsArray={[...Array(ARRAY_LENGTH)].map((item, index) =>
            (<View style={styles.icon}>
              <Text>{index + 1}</Text>
            </View>)
          )}

          onPress={(btnNum) => console.log(btnNum)}

          topGap={15}

          tabColor={'white'}
          backgroundColor={'firebrick'}

          duration={300}

          sidesRadius={1}

          marginBottom={23}

          scaleYCircle={1.4}

          iconTranslateY={-5}
          lockTranslateYAnime={true}

          iconScale={1.4}
          lockScaleAnime={true}

          iconDropY={30}
          allowDropAnime={true}
          dropWithFirst={false}

        />
      </View>

Props

name required default description type
height yes 15 Nav bar height Number
iconsArray yes 0 [, ...] // MAX iS 7! Array
screensArray no 0 [, ...] // MAX iS 7! Array
onPress no Return the number of the pressed icon (1-7) Method
reactNaviagtionBar no Use as react-navigation/bottom-tabs's "tabBar" property Boolean
topGap no 0 Top Gap height Number
tabColor no 'white' Tabs color Color
backgroundColor no 'dodgerblue' Background color Color
duration no 300 Animation duration Number
sidesRadius no 1 multipling the default sides radius 0.1 - 1 Number
marginBottom no 23 Icons marginBottom (distance from ground). recommended values depends on component height Number
scaleYCircle no 1.4 Glich animation in the bottom of picked icon. Recommended values: 0.7 - 1.4 Number
iconTranslateY no -10 Picked icon translateY Animation. - => top ; + => bottom Number
lockTranslateYAnime no Active icon translateY animation Boolean
iconScale no 1.4 Picked icon scaling animation Number
lockScaleAnime no Active icon scaling animation Boolean
iconDropY no 30 Icons drop down animation Number
allowDropAnime no Active Icons drop down animation Boolean
allowDropAnime no First icon will also drop down Boolean
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].