($selected = { ...$selected, title, info: tab.getBoundingClientRect() })} class:is-selected={$selected.title === title} class="spectrum-Tabs-item" tabindex="0"> {#if icon}
{/if}
{title}
{#if $selected.title === title}
{/if}