Gathering detailed insights and metrics for react-native-navigation-bar-color
Gathering detailed insights and metrics for react-native-navigation-bar-color
Gathering detailed insights and metrics for react-native-navigation-bar-color
Gathering detailed insights and metrics for react-native-navigation-bar-color
react-native-system-navigation-bar
React Native lets you customize the navigation bar for Android.
@gennadysx/react-native-navigation-bar-color
React Native component to change bottom bar/navigation bar color on Android
@bashir_towdiee/react-native-nav-bar-color
Change the color of the navigation bar (footer bar) in React Native Android apps with swipe-up gesture navigation.
react-native-custom-navigation-bar-color
React Native component to change bottom bar/navigation bar color on Android/iOS
React Native component to change bottom bar/navigation bar color on Android
npm install react-native-navigation-bar-color
Typescript
Module System
Node Version
NPM Version
93.7
Supply Chain
99
Quality
75.8
Maintenance
100
Vulnerability
100
License
Java (90.98%)
JavaScript (9.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
282 Stars
63 Commits
54 Forks
3 Watchers
4 Branches
11 Contributors
Updated on May 20, 2025
Latest Version
2.0.2
Package Id
react-native-navigation-bar-color@2.0.2
Unpacked Size
70.35 kB
Size
26.58 kB
File Count
16
NPM Version
6.14.16
Node Version
12.22.12
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
React Native Navigation Bar Color Change is a React Native library for change color of navigation/Bottom bar on Android.
$ yarn add react-native-navigation-bar-color
or
$ npm install react-native-navigation-bar-color --save
$ yarn add react-native-navigation-bar-color
or
$ npm install react-native-navigation-bar-color --save
android/app/src/main/java/[...]/MainApplication.java
import com.thebylito.navigationbarcolor.NavigationBarColorPackage;
to the imports at the top of the filenew NavigationBarColorPackage()
to the list returned by the getPackages()
methodandroid/settings.gradle
:
include ':react-native-navigation-bar-color'
project(':react-native-navigation-bar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation-bar-color/android')
android/app/build.gradle
:
implementation project(':react-native-navigation-bar-color')
1import React from 'react'; 2import {View, Text, Button} from 'react-native'; 3import changeNavigationBarColor, { 4 hideNavigationBar, 5 showNavigationBar, 6} from 'react-native-navigation-bar-color'; 7 8export default function App() { 9 const setNavigationColor = color => { 10 changeNavigationBarColor(color); 11 }; 12 const hideNavigation = () => { 13 hideNavigationBar(); 14 }; 15 16 const showNavigation = () => { 17 showNavigationBar(); 18 }; 19 20 const testSetTranslucent = () => { 21 changeNavigationBarColor('translucent', false); 22 }; 23 24 const testSetTransparent = () => { 25 changeNavigationBarColor('transparent', true); 26 }; 27 28 return ( 29 <View 30 style={{ 31 flex: 1, 32 justifyContent: 'space-around', 33 alignContent: 'center', 34 alignItems: 'center', 35 backgroundColor: 'cyan', 36 }}> 37 <Button title="Set transparent" onPress={testSetTransparent} /> 38 <Button title="Set translucent" onPress={testSetTranslucent} /> 39 <Button 40 title="Set color red" 41 onPress={() => { 42 setNavigationColor('red'); 43 }} 44 /> 45 <Button 46 title="Set color blue" 47 onPress={() => { 48 setNavigationColor('blue'); 49 }} 50 /> 51 <Button 52 title="Set color ligth" 53 onPress={() => { 54 changeNavigationBarColor('#ffffff', true); 55 }} 56 /> 57 <Button title="Hide bar" onPress={hideNavigation} /> 58 <Button title="Show bar" onPress={showNavigation} /> 59 <Text>Hello Word!</Text> 60 </View> 61 ); 62}
changeNavigationBarColor(color, Boolean(light icon color), Boolean(animated - default is true))
: (Android)Change color of Navigation/Bottom bar. color can be a "translucent" | "transparent" | HEX color, or name.
ex: green, blue, #80b3ff, #ffffff....
Light is true? icons will be dark.
Promise
1 example = async () => { 2 try{ 3 const response = await changeNavigationBarColor('#80b3ff'); 4 console.log(response)// {success: true} 5 }catch(e){ 6 console.log(e)// {success: false} 7 } 8 9 };
1 example = async () => { 2 try{ 3 const response = await changeNavigationBarColor('#80b3ff', true); 4 console.log(response)// {success: true} 5 }catch(e){ 6 console.log(e)// {success: false} 7 } 8 9 };
hideNavigationBar()
: (Android)Hide Navigation Bar
1 import { hideNavigationBar } from 'react-native-navigation-bar-color'; 2 ... 3 hide = () => { 4 hideNavigationBar(); 5 };
showNavigationBar()
: (Android)Show Navigation Bar
1 import { showNavigationBar } from 'react-native-navigation-bar-color'; 2 ... 3 show = () => { 4 showNavigationBar(); 5 };
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 6/19 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More