svelte slot ✓ React Render Props and Svelte Slots
svelte slot To specify a slot, give its element data-swapy-slot=anyNameYouWant Svelte: examplessvelte Did you like Swapy? Please give it a star on GitHubsvelte 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 slotWe can add the slot component to a Svelte component to let us nest components inside another component In the code above, we have the
svelte slot Interactive example Svelte apps