Skip to main content
Question

Can you make a number variable that controls a component's width?


Cristian_Banu

Hey guys,
I’m wondering if you can have a variable that, when changed, it changees a component’s width for example.
Thank you 🙂

This topic has been closed for comments

2 replies

tank666
  • 4863 replies
  • April 11, 2024

Yes, you can create a number variable and bind it to the width of the object. You can find out more here:

Figma Learn - Help Center

Cristian_Banu
  • Author
  • Active Member
  • 111 replies
  • April 12, 2024

Thank you so much 🙂


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