Skip to main content
loasfq
New Participant
September 5, 2025
Solved

Instance swaps not retaining size alterations

  • September 5, 2025
  • 13 replies
  • 919 views

Please help ​@Gleb   I’ve seen your solution to this a few times on Figma but I can’t seem to crack it.

 

I am currently working on a few landing pages that utilise our design system to swap out icons and logos, but none of them are sized to fit within the parameters we have set - design system icons are, at largest, 32x32, desired size is 108x108. I’ve created a component with the logo set at 108x108 and whenever I create an instance of that component and change the logo it shrinks back down to 32x32.

 

I’ve seen your files and that you have found a solution, I’ve done my best to replicate but Im just not getting the same result! I’ve linked a test file below with just basic shapes and colours.

https://www.figma.com/design/V8W0Qh2YjrWipuoJBsKalE/Untitled?node-id=0-1&t=k7XtHDPJQMK1YJtR-1

 

 

 

    This topic has been closed for replies.
    Best answer by Gleb

    Everything is working properly now. Just set constraints to “scale” so the circle resizes relative to the parent. Currently it’s set to center so it won’t resize when its container changes.

     

     

    13 replies

    loasfq
    loasfqAuthor
    New Participant
    September 5, 2025

    holy hell yes that worked! oh my god thank you very much man! that was so helpful and thank you for your patience with me as well! 

    loasfq
    loasfqAuthor
    New Participant
    September 5, 2025

    My question now is will this work if i’m pulling from a design system with a variety of icons already setup in component sets? Would I just have to set all their constraints to scale?

    Freddy
    New Participant
    September 5, 2025

    Would I just have to set all their constraints to scale?

    Exactly this and you are good to go