Mateusz Rybczonek wrote a nice tutorial on how to use Vue.js Scoped Slots.

vue scoped slots

There are situations when you want the template inside the slot to be able to access data from the child component that is responsible for rendering the slot content. This is particularly useful when you need freedom in creating custom templates that use the child component’s data properties. That is a typical use case for scoped slots.