Create custom element like Container (add children)

How I could create an element to add children elements on it?

thanks