A Scoped slot provides local data from the component so that the parent can choose how to render it.
Using Scoped Component Slots\n\n Add an attribute to the element and set it to the name that you wish to access the scope properties from. This essentially creates a local variable for anything inside that template, allowing you to access it as if it was in the parent's scope.