Figma Support Forum

Swapping nested components with different sizes within instances

If I try to swap a nested components with different sizes within a component, the new element is resized to it its actual size. If I try to do the same within the instance it doesn’t work. Is there a workaround? Is it a bug?

Just tried what you showed here—feels like a bug to me. I thought it would be something to do with the constraints of the components.

What are you trying to accomplish with using components that are different sizes?

This answer might help: Instances not resizing with variable swaps - #2 by Gleb