mdn slotA named slot is a slot> element with a name attribute. Example. Let’s make an example using the slot> element along with the template> element. Partnering slot> withThe slot property of the Element interface returns the name of the shadow DOM slot the element is inserted