$selected = title } class:is-selected={$selected === title} class="spectrum-Tabs-item" tabindex="0"> {#if icon} {/if} {title}
{#if $selected === title} {/if}