MaskedInput
An input that formats its contents as the user types -- phone numbers, credit cards, product codes -- displaying literals automatically while binding only the underlying characters.
In a mask, 9 accepts a digit, L a letter and a an alphanumeric character; any other character is a literal shown as-is. Use \x to escape a token character as a literal. Incomplete values are allowed, so validate completeness with a schema when it is required.
Structure
<MaskedInput mask="(999) 999-9999" &value={$state.phone} />