npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-bottom-bar

v0.3.3

Published

Fully customizable BottomBar for React Native.

Downloads

34

Readme

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:

| Property | Type | Default | Description | | ------------------- | :-------: | :----------------------------------------: | --------------------------------------------------- | | style | style | container | use this to change the main BottomBar's style | | shapeStyle | style | bottom:89 | use this to change the main BottomBar's Shape style | | shapeColor | color | #FBFBFD | use this to change the unique shape's color | | mainIcon | component | icon | changes the main big button's icon type | | mainIconColor | color | #FFFFFF | changes the main big button's icon color | | mainIconGradient | array | blue gradient | changes the main big button's gradient color | | mainIconComponent | component | MainIconButton(Gradient Icon based button) | Make your own button on the main one | | miniButtonsColor | color | null | changes the mini buttons color with a single prop | | firstIconComponent | component | MiniButton(simple icon button) | renders your own component as a first button | | secondIconComponent | component | MiniButton(simple icon button) | renders your own component as a second button | | thirdIconComponent | component | MiniButton(simple icon button) | renders your own component as a third button | | fourthIconComponent | component | MiniButton(simple icon button) | renders your own component as a fourth button | | disableFirstIcon | boolean | false | disable the first icon button | | disableSecondIcon | boolean | false | disable the second icon button | | disableThirdIcon | boolean | false | disable the third icon button | | disableFourthIcon | boolean | false | disable the fourth icon button |

Credits

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

Author

FreakyCoder, [email protected]

License

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