How can I switch a tab from a button click?

We are using the built-in Tabs component and would like to switch to one of the tabs when a user clicks a button in the content section of a different tab. I assume this can be done through data binding, but it’s not clear how.

Hey @Canuckaholic, this is not possible with the built-in Tab component because active tab state is inaccessible directly from the UI. Alternatively, you can create a custom component/template/symbol to achieve this behavior. As a starting point, you may find the open source code for the Tabs component useful:

Ok thanks. Can I get this added to the feature requests? :slight_smile:

Sure! Feel free to submit feature requests anytime on our ideas board where the community can upvote them: