Skip to main content
Shukri_Brewer
New Member
July 28, 2024

HUG or FILL mapped to a variable?

  • July 28, 2024
  • 12 replies
  • 1210 views

Is it possible to map the HUG or FILL to a variable.

It would be great to not only assign particular width values, but also set the width to either hug or fill the container.

12 replies

Figmate
July 30, 2024

Hi @Shukri_Brewer, Thank you for sharing your thoughts on applying variables. I tested it on my end, and it doesn’t seem possible at the moment, but I understand how helpful it would be!

If anyone from our community would also be happy to see this idea come to life, please vote or comment.

Thanks for your valuable input.

Daniel_Robbins1
New Member
February 12, 2025

​@Junko3 : where is the voting UI in this latest version of of the forum?

 

djv
Figmate
Community Support
February 12, 2025

Hi ​@Daniel_Robbins1, thanks for reaching out! 

As you may have noticed, Junko’s reply was written for our previous version of the forum, prior to the recent forum makeover last month. 

This current version no longer allows for the ability to cast votes. As mentioned here, “The voting feature in the Suggest a Feature (old “Share an Idea”) category is temporarily paused while we work on some improvements. Exciting updates are planned for 2025—stay tuned!”, but please rest-assured that our team is still tracking and handing over feedback to the necessary teams for future implementation. 

Matthew_Scheuerman
New Member
February 28, 2025

It’s been 7 months since ​@Shukri_Brewer asked for this, and I’m surprised there aren’t more Likes for this. I could use this for a large portion of the design system I’m building. 

Oliver_Maw
New Participant
May 6, 2025

A vote for this. please raise with the features team!

Tascha
Active Member
May 12, 2025

Yeah same. Would be really beneficial!

Manuel_Cilurzo
New Member
June 6, 2025

+1

Amine Belkheiri
New Member
September 30, 2025

+1000 even

Nikos_Kosmadakis1
New Member
January 22, 2026

Variables in general should be able to accept values one can set in the panels. They are lacking fundamental functions.

  • accept relative values at least in %
  • accept equations using other variables without returning a fixed number
  • accept auto layout properties

 

flauridsen
New Participant
March 11, 2026

+1