Three triggers, one content area. None of the tab buttons contains a target; Minu
falls back to the single [minu-content] on the page.
Click a tab above to load content.
minu-get URL.minu-target or inner [minu-content].[minu-content] in the card and swaps there.<button minu-get="tab1.html" minu-trigger="click">Tab 1</button>
<button minu-get="tab2.html" minu-trigger="click">Tab 2</button>
<div class="loader" minu-loader>Loading…</div>
<div minu-content></div>
The active-tab styling is separate page JavaScript. Minu only handles the request and swap.