# Can a reusable element like a header nav show text data from the current page?

**URL:** <https://forum.bubble.io/t/can-a-reusable-element-like-a-header-nav-show-text-data-from-the-current-page/58158>\
**Category:** Questions\
**Created:** [May 31, 2019, 1:09pm UTC](https://forum.bubble.io/t/can-a-reusable-element-like-a-header-nav-show-text-data-from-the-current-page/58158 "2019-05-31T13:09:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmoreau](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lmoreau/32/70641_2.png) [@lmoreau](https://forum.bubble.io/u/lmoreau)\
**Post date:** [May 31, 2019, 1:09pm UTC](https://forum.bubble.io/t/can-a-reusable-element-like-a-header-nav-show-text-data-from-the-current-page/58158/1 "2019-05-31T13:09:46Z")

</div>

Hi everyone, I have a reusable element that is basically my page header, so it has the app name, navigation menu and so on, which is applied on every page of my app.

Is there any way to have it show data FROM the current page? What I basically want, is say I’m on a Lead with page name lead\_details, I want a text field on the header nav to say “Lead : Company Name” with the company name being pulled from the current page’s company\_name field under the Lead.

I’m able to use conditions to have it say “If the current page name is lead\_details” then set this text to “Lead:” but when clicking insert dynamic data, I’m not sure if there’s a way to apply the company name to the end, or if a reusable element like that can show data from the page it’s on if that makes sense?

---

<div class="post-metadata">

**Author:** ![petter](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/petter/32/98626_2.png) [@petter](https://forum.bubble.io/u/petter)\
**Post date:** [May 31, 2019, 1:15pm UTC](https://forum.bubble.io/t/can-a-reusable-element-like-a-header-nav-show-text-data-from-the-current-page/58158/2 "2019-05-31T13:15:08Z")

</div>

One common way to exchange information between reusable elements and the page, is to use a state on the reusable element. What you can do in this case is to set up a custom state of type LEAD on the Reusable Element, and on the page load of lead\_details, you set this custom state to the Lead loaded on the page.

---

<div class="post-metadata">

**Author:** ![robert](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/robert/32/149181_2.png) [@robert](https://forum.bubble.io/u/robert)\
**Post date:** [May 31, 2019, 3:24pm UTC](https://forum.bubble.io/t/can-a-reusable-element-like-a-header-nav-show-text-data-from-the-current-page/58158/3 "2019-05-31T15:24:41Z")

</div>

@lmoreau Yes, it can. @romanmg did something like this for me.
