What are your go-to libraries for input masking?

ใƒป1 min read

My definition of input masking:

Formatting of user-input in an <input> element as it is provided, into a preset shape/structure

For example, here is a set of phone inputs that have masks setup:

Image of HTML input elements that have preset 'masks' to auto-format user input

This CSS-Tricks link showcases some examples as well as some libraries, but I'm interested in what the DEV community uses nowadays (that post is ~2 years old).

Bonus points if the library is framework agnostic, i.e. does not use jQuery, Angular, React, Vue, etc.

DISCUSSION
Classic DEV Post from Feb 22

What are some Browser plugins that you can't live without ?

What are some of your essential browser extension/plugin that make your life easier ?

UI Developer @ St. Jude // All opinions, articles, and comments convey my views alone.

Thanks for visiting dev.to

A Beginner's Guide to dev.to