This is a project with 2 screens, and I d like to add a header as below:

2 buttons on header for the user to switch to the other page:

But the formula for navigate doesn't work on the buttons, it cannot recognize the screen names.
(the button works if on each screen instead of on the component)


In my daily work i have to build several screens like below(current ms webpage), but all options are buttons not dropdowns for each page (no subpages). wondering if it is possible to build a header component and set the buttons for screen1, screen2 ...etc. if the names of screens are not supported could we do index or something to referral it.

Currently I make a header with several buttons and duplicate it to all screens, but on updating have to modify all pages and buttons one by one so I am looking for a better solution. I tried the new modern control Tablist to control some containers visible or not, so all contents are in one screen, but lower the performance a lot.
Thank you!