Skip to main content
Question

Why does Figma reset my icon instance and not only its size property?

  • March 4, 2026
  • 1 reply
  • 36 views

Mladen

Hey Community. It’s my first question here, so lmk if this is the right approach/format.

Here’s my use case:

  • I have two icon component sets consisting of two sizes each
  • I want to use the icons in a button component
  • The icon instance inside the button component is exposed as nested instance
  • I change the icon instance inside the button from checkmark to xClose
  • When changing the button size, it resets the icon instance to the default

I can’t set the icon instance inside the button as instance swap property either, because I’d have to do it for both icon sizes in both component variants, and then it still doesn’t persist when changing the size of the button component.

 

Any clue if and how this can work inside Figma? I know simply scaling the icon would solve this, but I have an icon set including the right sizes as variants which I want to utilize.

 

Thanks!

1 reply

oliver jasper

This issue in Figma usually happens because changing the button size switches between different variants, which resets nested overrides like your icon instance. When Figma loads a new variant, it applies its default properties, causing the icon to revert. To fix this, you should use component properties (instance swap) for the icon instead of manually changing it. Also, make sure all button variants have the same layer structure and naming to preserve overrides. Using Auto Layout instead of multiple variants can further help avoid such resets.