JSFiddle - React, Tailwind, and code Playground

by DeadByElpy

HTML

<input type="text" pattern="[a-zA-Z0-9-]+" required>