{#each items as item (item.id)} {@const active = value === item.id}
(value = item.id)} > {item.label} {#if item.count !== undefined}
{item.count}
{/if}
{/each}