Target another styled component on hover
As of styled-components v2 you can interpolate other styled components to refer to their automatically generated class names. In your case you’ll probably want to do something like this: const Wrapper = styled.div` &:hover ${Button} { display: none; } ` See the documentation for more information! The order of components is important. It will only … Read more