Components inside custom codes

Hi there,

We are creating an styleguide using custom code. We've organized this codes inside groups:

enter image description here

But, some of these elements should accept components inside, like pages, modals, forms, slimboxes.

How can I setup a custom code to became a component to drop components inside?

Can you help us?

Best!

If you create a custom code componenet you should be able to right click on it in your HTML tree and then you should see an option to add. Then you can create a folder for them

But how can I make a custom code became a container to drop components inside?