Context : Component of a navbar item containing an icon and a title
Current state : When applying a hover effect on the component (icon + text), we cannot create a variant with a different icon that keeps the hover effect on the new icon. Only solution is to duplicate each navbar item and prototype it by hand.
Desired solution : Being able to consider the icon as a modular part of the component that keeps the effects and style of the parent’s icon.
Would save a lot of time 👍
Thank you for your time