Using named slots in Custom Components


Is it possible to use named slots in the custom components in the visual editor ?

Let’s say for example, i have a component like so (in Vue):

   <slot name="header"> <!-- named slot-->
      <slot></slot> <!-- default slot -->
   <slot name="footer"> <!-- named slot-->

So that would mean that a custom component might have multiple drop zones.
Is it possible ? :thinking:

1 Like

+1 for this. Otherwise i think with vue, you can really only have one child. Hopefully i’m wrong!

Hello @faz, @marinelbg,

Named slots are not yet supported, but there are plans to implement support for named slots in the coming months.