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

    Hal9000
    New Member
    Feb 2, 2025 3:28 PM UTC

    +1 to using percentage across the all variable. Including line-height please.

    DemianH
    New Member
    Feb 5, 2025 11:44 PM UTC

    +1 – Figma features and additions seem to be getting slower and slower as the years get on. Please don’t rest on your laurels as Adobe has been doing for the last 20+ years

    Kate21
    New Member
    Mar 6, 2025 3:54 AM UTC

    +1. Just had this come up with our mobile developers. Percentage sizing would be a very powerful tool for responsive design!

    JoeM
    New Participant
    Mar 22, 2025 6:10 PM UTC

    +1 – Figma features and additions seem to be getting slower and slower as the years get on. Please don’t rest on your laurels as Adobe has been doing for the last 20+ years

    Ditto this...

    Why don’t we have native REM values yet either, with the option to change a base value? 

    This is basic stuff for web design, and that anyone designing for web (or app) should be using or aware of. 

    paulien van rijckevorsel
    New Member
    Mar 24, 2025 9:19 AM UTC

    Yes please ! Need this for relative sizing of different components across breakpoints

    Mathilde Galibert
    New Member
    Apr 7, 2025 12:17 PM UTC

    +1 ! Would need this to set up line height variable

    raojames
    New Member
    May 17, 2025 4:50 AM UTC

    Hi ​@OG_Can ,
     

    Yes, you can use percentage-based values in variables, depending on the design tool you're using. Many tools support relative sizing—like setting width or shape size to a percentage of the parent frame—which works great for responsive layouts. If your tool supports expressions or constraints, or if you just need to quickly calculate values manually, this Percentage Calculator is a super handy tool to have on hand.

    Let us know what software you're using for more specific tips!

    Lorenz_Kunze
    New Member
    May 22, 2025 2:35 PM UTC

    +1 to using percentage in numeric variables. Need this for High DPI scale sizes for Windows graphics and icons.

    Tom_Hendrickx1
    New Participant
    Jun 30, 2025 9:24 AM UTC

    +1

    Mueller_Bernhard_SCW_FIXY3
    New Member
    Jul 16, 2025 5:39 AM UTC

    +1