# Ionic 2 - global NavBar (\<ion-nav-bar\>

**URL:** <https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056>\
**Category:** ionic-v3\
**Created:** [March 10, 2016, 4:56pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056 "2016-03-10T16:56:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![keldar89](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@keldar89](https://forum.ionicframework.com/u/keldar89)\
**Post date:** [March 10, 2016, 4:56pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056/1 "2016-03-10T16:56:54Z")

</div>

In Ionic 1, we have the ability to define an `<ion-nav-bar>` above an `<ion-nav-view>`, which serves as a generic nav bar for the entire app and we could turn it off on a per-view basis (using `ionNavView`'s `hideNavBar=true|false`.

It appears in Ionic 2 we have to insert an `<ion-nav-bar>` per page - and cannot have a global nav bar for the entire app. Is that correct, or am I missing a trick?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [March 11, 2016, 5:40pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056/2 "2016-03-11T17:40:11Z")

</div>

This is correct. We made this change because people wanted more granular control of the navBar and the V1 version just provide that. So now with V2 we can have a reliable way to change a navBar’s color on the fly, and make sure all the navbars content updates/animates correctly.

---

<div class="post-metadata">

**Author:** ![keldar89](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@keldar89](https://forum.ionicframework.com/u/keldar89)\
**Post date:** [March 15, 2016, 5:06pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056/3 "2016-03-15T17:06:50Z")

</div>

Awesome - thanks for confirming. 🙂

---

<div class="post-metadata">

**Author:** ![yaloumi](https://avatars.discourse-cdn.com/v4/letter/y/b9e5f3/32.png) [@yaloumi](https://forum.ionicframework.com/u/yaloumi)\
**Post date:** [June 14, 2016, 11:48pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056/4 "2016-06-14T23:48:16Z")

</div>

Is there a way we can define a global navbar so that we won’t repeat navbar’s functions on each page ? would implementing it in its own component the right way to go ?

Thanks

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [June 16, 2016, 4:14pm UTC](https://forum.ionicframework.com/t/ionic-2-global-navbar-ion-nav-bar/46056/5 "2016-06-16T16:14:43Z")

</div>

This is not possible. The navbar is not setup this way.
