1

I'm still learning Figma, and I'm having trouble to create inactive buttons (or other status, focus, hover etc) and swap when needed. Can someone help me?

The tutorials I found on the internet were not very clear to me!

enter image description here

1

1 Answer 1

0

Here are the steps:

  • Create a button with Auto Layout
  • Turn it into a component
  • Add variant property to that component
  • Inside the component set (dashed purple lines) duplicate your button
  • Create one of the states you want like an inactive button
  • Duplicate again and create your next button type (continue with the same process for all of your button needs)
  • Name all variants properly. They shouldn't conflict.

And you are done.

To use them, call the component from the assets menu. You'll be able to swap between states.

You are welcome.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.