Skip to main content
Question

How I can Turn LTR to RTL in Variables?


Karim_Saif

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?

4 replies

Haroll
  • Active Member
  • 273 replies
  • January 11, 2024

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


Karim_Saif
  • Author
  • 1 reply
  • January 11, 2024

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


Mohab_Nadim

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


arul official

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings