slot usage vs prop usage • REPL
slot usage vs prop usage • REPL
SvelteThemes · Themes · Resources · Paid Templates · Updates · Submit svelte-slot-props Svelte Slot Props oodavid · svelte logo Want a Svelte site built
slot> slot prop= > Components can have child content, in the same way that elements can The content is exposed in the child component using the slot>
svelte slot As you can see above, all prop children elements will be inside a container Now I will use the Nested Svelte component inside the App
sveltekit slot Tired of those pesky divs clogging up your named slots?? Tire no more! Svelte fragments are
Regular
price
147.00 ₹ INR
Regular
price
147.00 ₹ INR
Sale
price
147.00 ₹ INR
Unit price
/
per