JSFiddle - React, Tailwind, and code Playground

by Gerard van Beek

HTML

<form action="">
<input type="text" pattern="[0-9]{3}\.[0-9]{3}\.[0-9]{3}\-[0-9]{2}" value="" name="cpf" id="cpf" maxlength="17" placeholder="CPF">
</form>