Skip to main content
Question

How to add a state layer on a button

  • March 6, 2024
  • 1 reply
  • 613 views

Sofia_Hanashiro

Hi!
Does anyone knows how can I add a state layer on a button on Figma?
I saw that Material Design uses it to specify the states (enabled/hovered/focused etc).

This topic has been closed for replies.

1 reply

Raphael_M
  • Power Member
  • March 7, 2024

Hi, Sofia.

You can do it by making the component a variant.

Make a variant of a component by clicking this button:
image