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 . 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.