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