Socket
Book a DemoInstallSign in
Socket

@arelstone/react-native-animated-tabbar

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arelstone/react-native-animated-tabbar

Tabbar for react native with a very nice animation when changing tabs

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
11
Maintainers
1
Weekly downloads
 
Created
Source

@arelstone/react-native-animated-tabbar

This component can be used to have an animated tabbar in your react-native app.

This package leverages on react-native-svg and d3-shapes.

npm npm (scoped) GitHub issues GitHub pull requests

@arelstone/react-native-animated-tabbar

Install

npm i @arelstone/react-native-animated-tabbar
// or
yarn add @arelstone/react-native-animated-tabbar

For ios remember to run pod install in the ./ios-directory to apply react-native-svg.

Props

PropTypeDescription
tabs{ icon: ReactElement; activeIcon: ReactElement; onPress: () => void; label?: string;}An array of tabs that will be displayed
backgroundColorstring (optional)Set the backgroundColor of the tabbar and the circle. Default: white
circleAnimationDurationMsnumber (optional)Change the duration of the circle animation. Defualt: 100
circleContainerStyleStyleProp (optional)Apply some styling the the container that holds the circles
circleSizenumber (optional)The size of the circle. Default 40
circleStyleStyleProp (optional)Apply some styling for the circles
heightnumber (optional)Set the height of the tabbar. Default 64
textStyleStyleProp (optional)Apply styling to the label of each tab.

Credits

This component wouldn't have been able to do without the videos from William Candillon who was the inspiration for this component. I will reccoment all of his videos.

Keywords

react native

FAQs

Package last updated on 07 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts