JSFiddle - React, Tailwind, and code Playground

HTML

<div tabindex="-1"></div>

CSS

div {
  height: 100px;
  width: 100px;
  background-color: dodgerblue;
}

JavaScript

$('div').on('blur', function(){
	console.log('blurrr')
});