0.3.3 • Published 3 years ago

react-native-bottom-bar v0.3.3

Weekly downloads
32
License
MIT
Repository
github
Last release
3 years ago

Battle Tested ✅

Fully customizable, unique shaped bottom bar component for React Native.

npm version npm License: MIT

Installation

Add the dependency:

Pure React Native :

npm i react-native-bottom-bar

Expo Version :

"react-native-bottom-bar": "WrathChaos/react-native-bottom-bar#expo"

Peer Dependencies :

You must install these dependencies!

"@freakycoder/react-native-helpers": ">= 1.0.0",
"react-native-androw": ">= 0.0.31",
"react-native-vector-icons": ">= 6.0.0",
"react-native-linear-gradient": ">= 2.4.x",
"react-native-dynamic-vector-icons": ">= x.x.x"

Usage

<BottomBar
  style={style}
  shapeColor={shapeColor}
  mainIcon={mainIcon}
  mainIconColor={mainIconColor}
  mainIconGradient={mainIconGradient}
  mainIconComponent={mainIconComponent}
  miniButtonsColor={miniButtonsColor}
  firstIconComponent={firstIconComponent}
  secondIconComponent={secondIconComponent}
  thirdIconComponent={thirdIconComponent}
  fourthIconComponent={fourthIconComponent}
/>

Example Application

  • I just shared the example project on Expo, simply run on your device to check what it is: via Expo OR check the code, and yes! :) all of the images, screenshots are directly taken from the this example. Of course, you can simply clone the project and run the example on your own environment.

Configuration - Props

BottomBar:
PropertyTypeDefaultDescription
stylestylecontaineruse this to change the main BottomBar's style
shapeStylestylebottom:89use this to change the main BottomBar's Shape style
shapeColorcolor#FBFBFDuse this to change the unique shape's color
mainIconcomponenticonchanges the main big button's icon type
mainIconColorcolor#FFFFFFchanges the main big button's icon color
mainIconGradientarrayblue gradientchanges the main big button's gradient color
mainIconComponentcomponentMainIconButton(Gradient Icon based button)Make your own button on the main one
miniButtonsColorcolornullchanges the mini buttons color with a single prop
firstIconComponentcomponentMiniButton(simple icon button)renders your own component as a first button
secondIconComponentcomponentMiniButton(simple icon button)renders your own component as a second button
thirdIconComponentcomponentMiniButton(simple icon button)renders your own component as a third button
fourthIconComponentcomponentMiniButton(simple icon button)renders your own component as a fourth button
disableFirstIconbooleanfalsedisable the first icon button
disableSecondIconbooleanfalsedisable the second icon button
disableThirdIconbooleanfalsedisable the third icon button
disableFourthIconbooleanfalsedisable the fourth icon button

Credits

Thank you RN Typography Team for the ShowcaseScreen :) It has a great design.

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Bottom Bar Library is available under the MIT license. See the LICENSE file for more info.

0.3.3

3 years ago

0.3.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.2

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.52

5 years ago

0.1.51

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago