UI Nav Menu for App Bridge - Dynamically set the active link?

Shopify Partner
3 0 1

We're in the process of implementing UI-Nav-Menu and wondering if there's any way to set the active link? Something like the following:


<a href="/" rel="home">Home</a>
<a href="/templates" active="true">Templates</a>
<a href="/settings">Settings</a>


The core issue is that users navigate to pages within our app without interacting with the Ui Nav Menu, and this leads to an inconsistency between the active link shown in the UI Nav Menu and the page currently displayed to the user. 


Any advice or insights would be greatly appreciated!


Reply 1 (1)

Shopify Staff
1828 269 398

Hey @jback 


Checking on this one and will report back!

Scott | Developer Advocate @ Shopify