Skip to main content
Question

Replacing icons in buttons, design library vs product file, different results

  • October 12, 2021
  • 3 replies
  • 3742 views

Marton_Lakatos

Hey! So, I have buttons in my design system file, where if I can the icons in a button, and then change the variant for the button (filled > outline etc), then the button preserves the icon overwrite.

But when I used the same button in a product file from the design system library, the changes are not preserved.

The structure of the button is this:

  • Variant
    • Icon-size
    • Text
    • Icon-size (a variants, with the same icon, but in multiple sizes)
      • Icon-instance
        • Vector

I think the issue here is when I change the icon in the button, Figma changes its name to the instance’s name, so when after I change it to another button variant, it sees it as an instance conflict, and resets the overrides, but then I don’t understand why is it working in the design system file.

I’m still investigating different options, structures, but so far I didn’t find a solution. Any ideas?

ps. I wanted to share screen records in the post, but the forum doesn’t allow me to share media as I’m a new user. Figma, really? I mean, I have a team subscription and everything, what do you think what I’m going to share that can’t be allowed, cat videos? Mehh.
ps2. nor links. great.

This topic has been closed for comments

3 replies

Marton_Lakatos

design system
2021-10-12 12.02.14


Marton_Lakatos

product file:
2021-10-12 12.05.40

“new users only allowed sharing one embed post.” and I’m replying too quickly. gosh, it’s a bit annoying. perhaps showing a warning message before the action, not after when I did something… khmm… wrong?


  • 0 replies
  • November 11, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings