[request] link multipage pages to tabs component

hi all!

I started playing around with the Multipage beta and I love it!

One thing blocking us is the ability to connect page selection to a component other than Navigation. I am using tabs to switch between a grid view and table view (each their own pages), and the Tabs component provides underlines for highlighting, which the Navigation component does not.

i am using event handlers in the Tabs component to switch pages, but other functionality can switch pages, so keeping Tabs value synced with the page is leading to duplicate scripting buried inside event handlers of components.

so it would be great to have either:

  • a Navigation component with underlines for highlighting, or
  • a Tabs components with the ability to link to pages (currently only containers)

thank you!

1 Like

Hey @trz-justin-dev, thank you for this request! I went ahead and filed it internally. We are looking to revamp multipage navigation support (Breadcrumbs, navigation, tabs, etc.) in the coming months.

As a current workaround, I think the navigation component could achieve what you're looking for. Understand it won't be perfect for design though.

1 Like

hey @ming thanks for filing and replying! i'm going to use a global variable to store the page name as a workaround, since we need to do conditionals based on page throughout.

1 Like