{#each tabs as tab (tab.href + tab.label)} {@const isActive = activeHref === tab.href} {tab.label} {/each}