Vue.js · Directive
v-slot
v-slot provides content for a component's named or default slots. It can also receive props from a child slot, including through destructuring.
Last updated
Syntax
v-slot[:name][="slotProps"]
#name="slotProps"In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
<slot>default slotnamed slotsscoped slotsdynamic slot names#