Variable Content Containers for Components (Replace/Reorder Layers in components)

Hi @Constantine_Zuev! You can try to do it like in my example file:

Or if you want, send a link to your file for me to see.