Lightning component with placeholder

I want to create a lightning component to be used on the lightning page. In the component I want to have a placeholder for other components, so the user can add other components per via drag and drop in the lightning app builder. Is it possible?

PS: There is a standard component “tabs” that have exactly that what I want. Can I do it on the custom lightning component?

enter image description here

Answer

You cannot at the moment (or at least there is no documented way of doing so), the only components that support drag and drop placeholder/regions are the following:

  1. custom theme layouts
  2. custom templates

the following Ideas are still pending approval for making this feature available:

and as far as the aura frameworks components go, it looks like this may be made available some time in the future since there are several drag and drop reference components under development which can be seen on the forcedotcom GitHub Repo. Unfortuantely, I cant provide any insight on how far up in the list of priorities this is.

Attribution
Source : Link , Question Author : Sergej Utko , Answer Author : glls

Leave a Comment