Figma tip: Scoped slot components
Figma tip: Scoped slot components
Using Slots To allow a parent component to pass DOM elements into a child component, provide a slot> element inside the child component
Components can currently define slots in two ways: by specifying a component class ; by providing a proc that either returns HTML or a
slot machine operations Slots can also render other components Pass the name of a component as the second argument to define a component slot Arguments passed when calling a
slot แตกบ่อย Slots are a way to pass elements to a component and let them render in a specific location, like a header or footer
Regular
price
131.00 ₹ INR
Regular
price
131.00 ₹ INR
Sale
price
131.00 ₹ INR
Unit price
/
per