{#each tabs as tab}
{#if tab.icon}
{/if} {tab.label} {#if typeof tab.badgeValue === 'number'}
{/if}
{/each}