pass props to slot vue
Vue vs React – How to Go from One Framework to the Other
In Vue Props are declared in the component script. They are passed from a parent component down to child component.
How to Pass Props in Vue 3 with Composition API
All component props are available in the $props object (this.$props if you're not in the template), and we can use the Vue directive v-bind without specifying a specific prop name in order to bind a whole object of props to the child.
Rendering Mechanism
I'd like to do the following, but with Vue 2's render function. ... Use the slot name ("default") plus function argument for the slot props.