Named slots • Svelte Examples
Named slots • Svelte Examples
Learn how to send data from a parent component to its child with props We cover default & dynamic prop values, the prop shorthand and more
svelte ; script> ; import Slotted from ' '; ; let name = 'world';
svelte slot props Using Spread Props & Default Props · Working with Slots · Named & Default Slots · Example: Opening & Closing a Modal · Using Slot Props · The Component
sveltekit slot Using Spread Props & Default Props · Working with Slots · Named & Default Slots · Example: Opening & Closing a Modal · Using Slot Props · The Component
Regular
price
162.00 ₹ INR
Regular
price
162.00 ₹ INR
Sale
price
162.00 ₹ INR
Unit price
/
per