Figma Support Forum

Keeping variants of different sizes aligned left

Hi !

I have 2 variants of different width (variant A is much larger than variant B). Cliking on variant A turns it into variant B. And cliking on variant B turns it into variant A.

The constraint of the component in my frame is Top and Right. But my problem is that when variant A turns into variant B, it gets smaller and it is aligned left with variant A.

How can I make it stick to the right ?

Thanks a lot

It works !

Thank you for pointing me to the right direction !