JSFiddle - React, Tailwind, and code Playground
HTML
<div><input type='file' name='files[]'> <img src='http://images.freescale.com/shared/images/x.gif' class='remove'></div>
<div><input type='file' name='files[]'> <img src='http://images.freescale.com/shared/images/x.gif' class='remove'></div>
<div><input type='file' name='files[]'> <img src='http://images.freescale.com/shared/images/x.gif' class='remove'></div>
CSS
.remove {cursor: pointer;}
JavaScript
$(document).ready(function(){
$('.remove').click(function(){
$(this).closest('div').slideUp('slow', function(){$(this).remove();});
});
});