From a button to a certain tab

Hello guys!

I have 3 buttons and a 3 tab price list. Is it possible that when I click on the second button to take me to the second tab? By default, the first tab is active, but I need that when I click on the second button to take me to the second tab and the same with the 3rd button.

Thank you in advance!


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Hi @marius_serban

This is how the Tab element works, if you click Tab 2, then the Tab 2 pane will display. You can style the tabs to look like the buttons.

If you want the buttons elsewhere on the page and then to open a specific tab in the tab element, then you’ll probably need custom code.

1 Like

Hi,

Are you planning on using the “Tab Component” for this? If you’re open, it’s probably more flexible to create this from scratch and use interactions. Native components do have hard-coded elements in the background that may add some hinderance. If you need complete flexibility, use interactions with a div grid, that hides/shows, or slides in/out.

Offering options. Hope that helps ya out.

1 Like