Skip to main content
Question

How I can Turn LTR to RTL in Variables?

  • January 11, 2024
  • 4 replies
  • 331 views

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?

This topic has been closed for replies.

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
  • 1 reply
  • December 18, 2024

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
  • New Member
  • 2 replies
  • January 27, 2025

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