MaskedInput

Pattern-driven text input. Pass a built-in MaskPresets name (creditCard, phone, ssn, currency, …) or a custom MaskConfig. Fires onAccept on every keystroke and onComplete when the mask is fully satisfied.

Built-in presets
0000 0000 0000 0000
(000) 000-0000
000-00-0000
2-decimal, thousands separator
Variants
Default
Success
Error
ZIP valid
ZIP incomplete
Available presets
creditCardexpirycvvphonezipzipPlus4ssncurrency