Figma Support Forum

Constraints of Components


I created a button as a main component and added left and right to the constraints. When I used the button I was not able to change the constraints anymore and the predefined left and right… was not working. Any advice what I’m doing wrong or is this an issue?


Can you show an example? If you are trying to change constraints inside of a component instance — that’s not possible, they are inherited from the main component.

Hi Gleb

Thanks for your help. I changed it in the main component… but the left and right is not working when i resize the frame… only if I detach the instance…

Here an exmaple: Figma


The outer constraints set on the component itself and not inside of it are not propagated to instances, so you need to set them manually:

Thank you!!!