Figma Support Forum

Icon is getting overriden when variant property changes

I have a button component with text and icons. Button component has variants like default, hover,… When I change the variants, the text remains the same but the icon is getting overridden. Any reason why this is happening? or am I missing anything here? Please let me know if there is s better way to handle this. Thanks.

Screen Recording 2021-10-19 at 9.38.59 AM|video

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