JSFiddle - React, Tailwind, and code Playground

by Mi Ku

HTML

<form action="">
  test number: <input pattern="\d*" name="test">
  <input type="submit">
</form>