Auto layout in Figma is coming soon(twitter.com)

over 1 year ago from Matthew O'Connor, Designer at Zego

  • Andrew C, over 1 year ago

    Works for me? If I have a button symbol w an icon (also a symbol) left aligned with text to the right and set the icon’s override source to none the layouts adapt.

    I’ve been using it all week on a card game side project. V useful.

    0 points
    • Matthew O'ConnorMatthew O'Connor, over 1 year ago

      That's not what Paul is talking about.

      In Figma it looks like you can make a button component with just text and a background shape (with padding). Then on the Button instance you can drag in any other component - in this case an icon - and it will understand that the component has padding and put the icon in the correct place.

      So this means you can make a simple button component and make it extendable with any icon on the fly, instead of having a button with an icon in your symbols panel.

      0 points
      • Andrew C, over 1 year ago

        Oh that sounds awesome. Was playing around w Figma today and it’s come a long way since I tried it last year.

        When this feature comes out I’d love to try it. I wonder how that’ll work if you have a design w 2-3 symbol components covering things. Would the image try to drop in to each symbol instead of on the art board?

        0 points
        • Matthew O'ConnorMatthew O'Connor, over 1 year ago

          Would the image try to drop in to each symbol instead of on the art board?

          I think you'll get an indication of where the element you are dropping in will be placed.

          In the video they posted you see a blue bar indicating where the component will sit when you let go.

          0 points