Text Mask - an input mask library. It can create input masks for phone, date, currency, zip code, percentage, email, and literally anything : r/Frontend
react-input-mask examples - CodeSandbox
Input masking component for React Made with attention to UX
Using input masks in React Native - LogRocket Blog