Skip to main content
Question

Libraries - Variants won't change states

  • January 14, 2025
  • 1 reply
  • 22 views

DavidS997

Hi,

Our team doesn’t really use libraries because our experience with them wasn’t great. Recently I’ve decided to give it another go after quite some time because we are at a state where we must split files in order to reduce the memory usage of the file.

Unfortunately, 10 minutes later I ran into an issue that is driving me crazy for the past 10 hours.

What I did:

- Created a new file called “Design System:
- Created a new component called “Button” with two variants “Default” and “Hover”
- Published the changes to the Library and published the Library
- Created a new file called “Screens”
- Added the newly created Library to the “Screens” file and added the “Button” component

What the issue is:
- The “Button” component default state is “Default”. When changing it to “Hover”, literally nothing happens. I can’t figure out for the sake of me what’s happening.

Any ideas?
Thanks

1 reply

y_toku
Figmate
  • Community Support
  • 2317 replies
  • January 15, 2025

Hi ​@DavidS997 ,

 

Thanks for providing the detailed steps. I tried following the same steps, but I wasn't able to replicate the issue on my end. Could you please share a video recording if possible? This would help us better understand the situation and investigate further to determine if we can reproduce the issue.

 

Thanks!

Toku


Reply


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