JSFiddle - React, Tailwind, and code Playground
HTML
<a><input type="checkbox"></a>
CSS
a {display:inline-block;padding:3px;background:red;}
JavaScript
$(document).ready(function(){
$('a').click(function(e){
e.preventDefault();
var i = $(this).children('input'),
c = i.prop('checked')
i.prop('checked', !c);
}).find('input').click(function(e){
e.stopPropagation();
})
})