Close/Hide tabs component when clicking tab title?

With just the standard “tabs component” element I can set the active tab to “none” so all tabs stay hidden until a tab is clicked. From that point forward I can click on all tabs, but clicking a second time on the same title won’t make it close: it just stays open.

How do I make it so that whenever the title of an open tab is clicked, the whole tabs component goes back to the “none” state? Do I need to create a custom interaction for that for each individual tab, or is there a simpler way of accomplishing this?

1 Like