JSFiddle - React, Tailwind, and code Playground
HTML
<h2>Spin control</h2>
Simple spin control:<input type='number'>
<br>
Minimun and max:
<input type="number" min="10" max="20" >
<br>
Start with a number:
<input type="number" min="10" max="20" step="2" value="16" >
<h2>Simple text input</h2>
Simple: <input type='text'>
<br>
TEXT with onchange event
<input type='text' onchange='alert(this.value)'>