JSFiddle - React, Tailwind, and code Playground
HTML
<div class="item">
<svg class="svg-mask" viewBox="0 0 256.4 77.5" preserveAspectRatio="none">
<image class="image-with-mask" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://www.nissan-cdn.net/content/dam/Nissan/nissan_europe/vehicles/gt-r/r35/2_minor_change/performance/17TDIeulhd_GTRHelios068.jpg.ximg.l_full_m.smart.jpg" width="100%" height="100%" x="0%" y="0%"></image>
</svg>
</div>
<svg class="svg-defs" style="position: absolute;">
<defs>
<mask id="mask-wrapper" maskUnits="objectBoundingBox">
<g fill="#fff" stroke="#fff">
<path class="st0" d="M255.9,69C185.3,79.7,71.1,79.7,0.5,69"/>
<rect x="0.5" y="0.5" class="st0" width="255.4" height="68.5"/>
</g>
</mask>
</defs>
</svg>
CSS
.item {
height: 500px;
}
.svg-mask {
width: 100%;
height: 100%;
}
.image-with-mask {
width: 100%;
height: auto;
mask: url(#mask-wrapper);
}