JSFiddle - React, Tailwind, and code Playground

HTML

<div class="wrapper">
	<div class="image">
		<img src="https://trgallery.net/_data/i/upload/2014/07/20/20140720223626-aaf1fc18-me.jpg">
	</div>
	<div class="slide">
		<div class="text">Hello World</div>
	</div>
</div>

CSS

.image {
	width: 200px;
	height: 200px;
	border: 1px solid black;
}

.image>img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.text {
  color: #ff0000;
  font-size: 20px;
  line-height: 100px;
}

.wrapper {
	position: absolute;
	top: 0;
	left: 0;
}

.slide {
	position: absolute;
    left: -200px;
    width: 200px;
    height: 100px;
	top: 50px;
    background: #F6F6F6; 
    transition: 1s;
}
.wrapper:hover .slide {
	transition: 0.5s;
    left: 0;
}	

.wrapper:hover .image>img {
-webkit-filter: grayscale(100%);filter: grayscale(100%);
}