Custom UI Component - Stacking them?

Hi and hello,

I am wondering if there is any possibility to “stack custom ui components”?

Lets assume somebody created a new Custom UI Component, and after a while the component grew a lot, so that there is th need to refactor and to break the component into more independend ones.
Although it wouldn’t to be expect that the UI Builder can be used to directly insert / stack a Custom UI Component into another Custome UI Component - it would be possible / allowed on the file level by just referencing namespaces and using includes (jsx, less)?

Thanks & best regards,
Stefan

Hi @Stefan_Bratsch

A UI Component must be completed and independent to publish it into the marketplace.
So there is no way to put one Custom UI Component inside another.
However, you can split the index.js file into small ones and put into each file a react component.

Regards,
Vlad

1 Like