How to Design a Slot
A slot is a placeholder inside a web component that allows you to pass state between the parent and child scopes. The slot> element is part of the Web Components technology suite and can be used with both HTML and Javascript. You can also use the slot:name> tag to create…