Skip to main content
Question

Underline state not behaving as expected


captainhaaak

Issue in Figma – Underline State Not Behaving as Expected

Context:
I'm creating a component (e.g. a link or button) where the label has an underline that should appear only on hover — but without causing layout shift.

What I tried in Figma:

  • I set the text to always be underlined.

  • In the default state, I set the underline color to 0% opacity (invisible).

  • In the hover state, I change the underline color back to 100% opacity (visible).

Problem:
Even though I set the underline to 0% opacity in the default state, it remains visible — Figma seems to not register the change in underline color opacity between variants.

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