Skip to main content
OG_Can
Active Member
Jun 27, 2023 10:27 PM UTC

Use percentage for size variables

Hello. I was wondering if it is possible to have percentage values in variables, like setting percentage value for frame widths or shape sizes (etc.) that have variable modes applied to them? Percentage values could respond better to content that varies within a frame or frames within frames.

    79 replies

    Sharon_Taylor
    New Member
    Jul 23, 2025 9:31 PM UTC

    +1 

    Nicolas_Prieto
    New Member
    Jul 23, 2025 10:04 PM UTC

    +1

    Marc Hauser
    New Member
    Jul 25, 2025 7:52 PM UTC

    +1 please oh please. ay, we got an AI site builder or something though. Maybe it will add the feature for us if we ask nicely. 

    Dieter
    New Member
    Aug 25, 2025 12:15 PM UTC

    Same request here, I need this to define the line-height of my typescale.

    Cody_Johnston
    New Member
    Sep 18, 2025 7:30 PM UTC

    The use of viewport width percentage is very much needed and very long overdue! Please add this!

    s11309
    New Member
    Oct 7, 2025 6:47 AM UTC

    +1

    jeffwade
    New Member
    Nov 11, 2025 7:23 PM UTC

    Would love to see this come to light. Working on some hi-fi prototypes using variables and this one enhancement would simplify so much.

    andrdinis
    New Participant
    Jan 26, 2026 3:05 PM UTC

    Bump

    Ozhered Michael
    New Member
    Feb 4, 2026 9:00 AM UTC

    Uup. Still is a very needed and obvious feature. Why only hardcoded numbers can be used?

    Only Figma is able to calculate size in pixels based on %% like:
    size = %% / max_size
    , because we don’t know the max_size for the layer in responsive environment, so only Figma can help there.

    Fabrice Epoca
    New Participant
    Feb 6, 2026 1:36 PM UTC

    plz plz plz Figma make it happen.

     

    This not being a starting feature 10 years ago was already crazy but still not done to this day is pure nonsense.

    Fab