--- title: --- The `` element allows a component to include itself, recursively. It cannot appear at the top level of your markup; it must be inside an if or each block or passed to a component's slot to prevent an infinite loop. ```svelte {#if count > 0}

counting down... {count}

{:else}

lift-off!

{/if} ``` > [!NOTE] > This concept is obsolete, as components can import themselves: > ```svelte > > > > {#if count > 0} >

counting down... {count}

> > {:else} >

lift-off!

> {/if} > ```