My co-worker is trying to overlay the OOTB adaptive formcomponents found under the libs folder. The only way he could make it work is by copying the entire component substack. This leads us to believe that overlays only work for foundation components.
Please advise if this is the case.
Example below for Adaptive form components (Overlay method):
If you are on aem version 6.0 or above then you dont need to copy the entire node structure rather just overlay the nodes which you need to override.The parent node structure of the overriden nodes will be copied and that too without any custom properties. Attaching links and screenshot for the same.