Skip to main content
Aalok_Trivedi
Jan 29, 2021 5:45 PM UTC

Fr/Percent units for more control over auto layout content

Although I find the new autolayout UI extremely convoluted and overdesigned, the ‘hug/fill parent’ feature is great. However, It would be immensely helpful to have more control over how the elements fill the parent.

Currently, the only option is for the elements to fill the remaining space, but oftentimes, I need certain elements to take up a certain proportion.

Example: I need element-1 to take up 2fr (~66%) and the rest to take up 1fr (~33%). It would be a game-changer if we could use ‘fr’ units.

Framer does this beautifully and it’s vital for efficient, adaptive layout workflows:

    214 replies

    Jonathon_Tesch1
    Nov 6, 2023 3:56 PM UTC

    +1 — would also absolutely love this feature. Working on a complex list component with optional status tags appended to each list item’s title, and a single hard pre-determined value maximum width is just not cutting it for my use case.

    Jella
    Nov 7, 2023 11:40 AM UTC

    +1, please!

    Jared_Rice
    Dec 1, 2023 4:56 PM UTC

    Any updates on this?

    Craig19
    New Member
    Dec 5, 2023 4:31 AM UTC

    agree. very much needed for dealing with responsive divs. ie, two elements, one 70% one 30%. each should have a min/max.

    Lynsey_Loftus
    Dec 5, 2023 5:36 PM UTC

    Bump - need percentage options for width and height. (Not just min and max, also include “fill” + %).

    Brian_Clay1
    New Member
    Dec 5, 2023 8:53 PM UTC

    +1 for this. When using column grids you often want to set a percentage for an object to “fill”. There are some hacks you can use to make this work but it’d be awesome to have percentages to avoid hacks.

    Chris_Kerr1
    New Participant
    Dec 15, 2023 7:26 PM UTC

    +10000!! This is the essential for a component layout flexibility, given you can’t override min/max values in nested components

    Miles_Mitchell1
    Dec 19, 2023 1:14 AM UTC

    Was surprised to find this isn’t a feature in Figma as I’m starting to utilize the tool more. This to me is a fundamental layout time-saver.

    Chris_Anthony
    Dec 20, 2023 6:34 PM UTC

    +1 this is a much much needed feature

    Dec 29, 2023 5:15 PM UTC

    +1 this would be very useful for creating more responsive designs and communicating responsiveness to developers.