mdn slotSlots are identified by their name attribute, and allow you to define placeholders in your template that can be filled with any markup fragment you want when the element is usedWhen the slot's containing component gets rendered, the slot is rendered with the custom element's child that has a matching slot attribute. A named slot is a slot> element