Svelte Guideline: Slots — Check slot content with $$slots. Description: Conditional slot rendering. Do: $$slots.name for conditional rendering. Don't: Always render slot wrapper. Good Example: {#if $$slots.footer}<slot name="footer"/>{/if}. Bad Example: <div><slot name="footer"/></div>. Severity: Low. Docs: .