Make layout components without detaching component instace

Hello,

I want to make a layout component, which has a header and should have a autolayouted body with a fixed padding (like CSS).

As you can see in the attached screenshot I want to place some items inside this layout. However this wont work as long as the layout component is attachted to its component

I could detach the layout instance, however than no further changes are tracked. Is this even possible?

1 Like

You could create the component with slots and then replace the slots with other components - https://www.youtube.com/watch?v=FOGgsPz3UTk

2 Likes