Skip to main content
Question

Apply underline to the choosen component variant only

  • February 23, 2026
  • 1 reply
  • 8 views

Hugo-M

Hello,

I have a component with a shared text property accross all variants.
I want the hover state to be underline, so I apply underline to the hover variant.
But since it’s sharing a common text property, the underline apply to all variants.

Is that a bug ? or a bad feature ?
I’m not sure but that’s really annoying

1 reply

Hugo-M
  • Author
  • New Member
  • February 24, 2026

Here’s a screenshot to demonstrate the bug : I have several variants with differents text style linked to the same text property :
 



As soon as I underline one of the variant, it apply the override to all variants :
 



It’s probably a bug, since my understanding is that a text property is only about content itself, not the styling. So a styling override shouldn’t affect the text property value