Giter Site home page Giter Site logo

10clouds / fluidbottomnavigation-rn Goto Github PK

View Code? Open in Web Editor NEW
192.0 21.0 44.0 1.26 MB

Animated Tab Bar Component for React Native

License: MIT License

JavaScript 53.58% Python 11.25% Java 9.72% Objective-C 25.45%
react-native component tabbar ui animated

fluidbottomnavigation-rn's Introduction

FluidBottomNavigation for React Native

NpmVersion NpmLicense

The Animated Tab Bar for React Native

Sample

Example

To run the example project, clone the repo, and run npm install from the Example directory first.

Installation

It is available through npm. To install just run

npm i fluidbottomnavigation-rn

in your project directory. And then link it's native dependency with

react-native link react-native-view-overflow

and you're done!

Usage

This component requires just 2 props. onPress function, that should handle rendering tabs and an array of values objects that contains title and icons for given tabs.

<TabBar
  onPress={(tabIndex) => { this._handlePress(tabIndex) }}
  values={[
    { title: "News", icon: require("./assets/news.png") },
    { title: "Requests", icon: require("./assets/requests.png") },
    { title: "Events", icon: require("./assets/events.png") },
    { title: "Members", icon: require("./assets/members.png") },
    { title: "Account", icon: require("./assets/account.png") }
  ]}
/>

Customization

Optionally you can pass tintColor prop, to adjust styling to your app.

Author

Patryk Mierzejewski

License

FluidBottomNavigation Component is available under the MIT license. See the LICENSE file for more info.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.