Skip to main content

I faced a problem in Variables in @figma

How can I turn LTR to RTL like this example from English to Arabic .




Anyone solved or faced this problem?

Hi @Karim_Saif


Unfortunately you cannot change the alignment of your auto layout with a variable, you will have to make a component and use variants for that


Hi Haroll,

Thanks for you replying but after do that we can change in variable or not


Hello Karim,


Just create a component with an RTL variant and in your localization variables create an RTL true or false

In your component also add a property RTL true or false and link the value with the RTL variable from your localization library


Hey, I hope you have found some solutions for what you are looking for, and in addition i have just created a plugin to flip the UI in for RTL designs from LTR designs 
https://www.figma.com/community/plugin/1444853673364696941/flip-ui-make-it-rtl

check it out hope it will be helpful in UI cases