Skip to main content
Question

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

  • April 11, 2024
  • 2 replies
  • 1318 views

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 replies.

2 replies

tank666
  • 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
  • April 12, 2024

Thank you so much 🙂