Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mindinventory/rn-top-navbar

Package Overview
Dependencies
Maintainers
10
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mindinventory/rn-top-navbar

Provides utility methods to set top navigation bar

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
10
Created
Source

React Native top-navbar🚀

npm version @mindinventory/rn-top-navbar Top Language @mindinventory/rn-top-navbar TypeScript @mindinventory/rn-top-navbar License

A @mindinventory/rn-top-navbar package is used to create custom navigation for React native apps. Users can fully customize the navbar. you can change the background color of the status bar. Navigation can contain components like icons, images, and text.

navbar navbar_1 navbar_2 navbar_3 navbar_4

Installation

using npm:

npm install @mindinventory/rn-top-navbar

using yarn:

yarn add @mindinventory/rn-top-navbar

Supported platform

  • Android
  • Ios

Usage

import Header from '@mindinventory/rn-top-navbar';
...
<Header style={{ backgroundColor: '#009999' }} statusBarBackground='#008080' barStyle='light-content'>
    <Header.Left style={{ backgroundColor: '#009999', width: "15%" }}>
        <Icon name='arrow-left' style={{color: '#fff', fontSize: 18}} />
    </Header.Left>
    <Header.Body style={{ backgroundColor: '#009999', width: "70%" }}>
        <Text style={{color: '#fff'}}>Header Title</Text>
    </Header.Body>
    <Header.Right style={{ backgroundColor: '#009999', flexDirection: 'row', width: '15%' }}>
        <Icon name='bars' style={{color: '#fff', fontSize: 18}} />
    </Header.Right>
</Header>

Documentation

Navbar container props

PropTypedescription
statusBarBackgroundstringuse for change background color of status bar.
barStylestringuse for change content of status bar.
stylestyleapply styles on navbar container.

Left container props

PropTypedescription
stylestyleapply styles on left container.

Body container props

PropTypedescription
stylestyleapply styles on body container.

Right container props

PropTypedescription
stylestyleapply styles on right container.

LICENSE!

@mindinventory/rn-top-navbar is MIT-licensed.

Let us know

If you use our open-source libraries in your project, please make sure to credit us and Give a star to www.mindinventory.com

Please feel free to use this component and Let us know if you are interested to building Apps or Designing Products.
app development

Keywords

FAQs

Package last updated on 20 Dec 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc