{#each item in items} {item.label} {#if item.badge} {item.badge} {/if} {else} {>slot} {/each}