All Projects → unix → react-native-smartbar

unix / react-native-smartbar

Licence: other
Maybe this is the best tabbar , support android and ios !

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-native-smartbar

TabBar
📱 TabBar – highly customizable tab bar for your SwiftUI application.
Stars: ✭ 105 (+262.07%)
Mutual labels:  tabbar, bar
buttons tabbar
A Flutter package that implements a TabBar where each label is a toggle button.
Stars: ✭ 49 (+68.97%)
Mutual labels:  tabbar
shapebar
A simple bar based on Lemonbar.
Stars: ✭ 16 (-44.83%)
Mutual labels:  bar
react-native-viewpager-carousel
a flexible viewpager library with carousel functionality
Stars: ✭ 39 (+34.48%)
Mutual labels:  tabbar
QWTabBarTemplate.xctemplate
自定义模版 快速创建带有导航栏和工具栏的工程
Stars: ✭ 44 (+51.72%)
Mutual labels:  tabbar
react-native-segment-controller
A react-native segment controller(Tab) for both ios and android.
Stars: ✭ 18 (-37.93%)
Mutual labels:  tabbar
android-charts
A curated list of Android Chart libraries.
Stars: ✭ 69 (+137.93%)
Mutual labels:  bar
MightyTabBar
How tab bars should work.
Stars: ✭ 72 (+148.28%)
Mutual labels:  tabbar
TransparentCameraBar
Set the opacity, hide or shrink the camera bars.
Stars: ✭ 15 (-48.28%)
Mutual labels:  bar
react-native-bubble-tabbar
🧼 Bubble Tab Bar Component for React Native which supports React Navigation V5 and TypeScript
Stars: ✭ 43 (+48.28%)
Mutual labels:  tabbar
clipped-tabbar
No description or website provided.
Stars: ✭ 58 (+100%)
Mutual labels:  tabbar
MaterialesqueTabBar
UIViewController featuring a customisable Tab Bar working with a UIPageViewController.
Stars: ✭ 17 (-41.38%)
Mutual labels:  tabbar
Flutter-Bottom-Tab-Bar
No description or website provided.
Stars: ✭ 72 (+148.28%)
Mutual labels:  tabbar
duing
😱 The progress bar / status badge of SVG generator service
Stars: ✭ 68 (+134.48%)
Mutual labels:  bar
react-native-curved-bottom-tabbar
Curved Bottom Tabbar React Native
Stars: ✭ 20 (-31.03%)
Mutual labels:  tabbar
react-native-collapsible-segmented-view
A cross-platform Collapsible Segmented View component for React Native
Stars: ✭ 37 (+27.59%)
Mutual labels:  tabbar
wapanel
Desktop-dedicated wayland bar for wayfire and other wlroots based compositors. Mir compatible.
Stars: ✭ 31 (+6.9%)
Mutual labels:  bar
lemonblocks
A status bar generator for lemonbar, inspired by i3blocks and dwmblocks.
Stars: ✭ 31 (+6.9%)
Mutual labels:  bar
react-native-viewpager-indicator
修改自react-native-scrollable-tab-view,增加了根据文字内容适配下划线长度的功能。
Stars: ✭ 52 (+79.31%)
Mutual labels:  tabbar
TabBarInteraction
A tab bar example that animate based on user interaction
Stars: ✭ 72 (+148.28%)
Mutual labels:  tabbar

react-native-smartbar

Maybe this is the best tabbar. 中文

Install

* install with npm
sudo npm i react-native-smartbar --save

Get Started

  • DEMO

    Witt Bulter

  • toggle the bar

    Witt Bulter

  • only image

    If you just want to show the image, do not fill in [text(TabBar.Item)] Witt Bulter

  • only text

    If you just want to show the text, do not fill in [image(TabBar.Item)] Witt Bulter

documentation

  • TabBar
attribute type required description example
activeColor string false active color activeColor={'#FE985B'}
toggleBar bool false hide and show toggleBar={this.state.toggle}
height number false default value = 45px height={50}
index number false jump index and default index index={this.state.index}
style style false footer bar style style={{height: 500}}
  • TabBar.Item
attribute type required description example
icon image false default icon icon={require('./img/abc.png')}
selectedIcon image false active icon icon={require('./img/abc_2.png')}
text string false default text text={'List'}
style style false footer bar style style={{height: 500}}

Features

  1. Show and hide

        <TabBar
               // ...
                ref={tabbar=> this.tabbar=tabbar}
        >
    
        // you can pass the handle to the next page
        // toggle 
        this.tabbar.toggleBar()
     
        // OR set bool
        this.tabbar.toggleBar(true)
        this.tabbar.toggleBar(false)

    OR ...

    // use redux
       <TabBar
              // ...
               toggleBar={this.state.toggle}
       >
    
       // toggle 
       componentWillReceiveProps (nextProps){
       		this.setState({
       			toggle: nextProps.toggle
       		})
       }
        
  2. Jump

        <TabBar
               // ...
                ref={tabbar=> this.tabbar=tabbar}
        >
     
        // jump
        this.tabbar.jumpToIndex(index)
     

    OR ...

       <TabBar
              // ...
               index={this.state.index}
       >
    
       // jump 
       componentWillReceiveProps (nextProps){
            this.setState({
                index: nextProps.index
            })
       }
        
  3. Customize

    You can customize any style !

       <TabBar
              // ...
               style={{...}}
       >
           <TabBar.Item
               // ...
               style={{...}}
            >
               <Index />
            </TabBar.Item>    
       </TabBar>
        

Example

see /example

Support

  • MAIL (# = @) => nanazuimeng123#gmail.com
  • ISSUES
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].