Skip to main content
Question

Icon component color in a button component


Rona_Itzkin

How do I make the Icon component, that is nested in the button component, color not adjustable? In the Button disabled mode the icon needs to be in a grey color, but the original color of the icon component is being implemented when I swap the icon variant.
Is there a way that the color that I’ve defined in the button component will be saved even when I’m swapping the icon variant? Or do I need to create a variant of all the icon options for the Button component?

This topic has been closed for replies.

5 replies

Preslava
  • 3 replies
  • September 5, 2022

I have a similar problem - some of the icons change color some don’t. All of them are simple paths and are used as separate components with swap instance. I wrote to support but still don’t have an answer. Did you find anything?


ByeWind
  • New Member
  • 8 replies
  • November 28, 2022

same problem


Yulia8
  • 1 reply
  • December 8, 2022

Same problem


srternasco

Same proiblem


Celine_
Figmate
  • Community Support
  • 3733 replies
  • July 22, 2024

Hi there! Sorry to hear this is happening. As the topics dated from 2022, if you are encountering a similar problem at the moment, it would be great that our support team investigate it. (I checked the latest support ticket about this issue and it seems to happen when creating complex variants).

As these issues need further investigation, I’d suggest you to fill out this form so the team can have a look at it: here

Please use your Figma email account, including a quick video recording so that, the team will have a bit more context, and please also include the URL of your file and share it with support-share@figma.com as an Editor so we can try to replicate it. Thank you!


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