JSFiddle - React, Tailwind, and code Playground

by Alexander Branchugov

HTML

<input type="text" pattern="[0-9]" />