svelte slot ✓ svelte 5 named slots -
svelte slot Data is passed using slots to render it as an HTML tag to a specific child The slot is used as a tag in the child component while defining data for variables svelte slot In this video we're going to learn how to compose our components using slots in Svelte ▶️
svelte slotInteractive example Svelte apps
svelte slot In Svelte 4, slot and names slots where done You can also bind to the following properties: innerWidth; innerHeight; outerWidth; outerHeight; scrollX; scrollY;