
Description
vue-input-facade is a lightweight input masking library for Vue. It has no dependencies and started as a fork of vue-text-mask, which the README says has been extended with many improvements since. You can use it globally, which installs the component, directive and filter for the whole app, or locally inside a single component. It can be used as a component or a directive. Masks are built from tokens: S for alphabetic characters, # for numbers, X for alphanumeric characters, A and a for alphabetic characters forced to upper or lower case, a backslash to escape a token, a question mark for optional characters, an asterisk for optional repeating characters, and a pipe for alternative static characters. The README warns that it does not work on special input types such as number or email, and recommends using it on text inputs. Migrating projects can pass options at plugin install time to override the default tokens or the directive name. The project is test-driven and uses semantic-release with conventional commits.…
Highlights
- No dependencies, lightweight
- Component, directive and filter forms
- Token-based masks with optional and repeating characters
- Override tokens and directive name when migrating
- Test-driven with semantic-release
Ratings & Reviews
No ratings yet
Be the first to rate vue-input-facade.
People also visit
vue3-tags-input
A tags input component for Vue 3 with custom validation, templating
vue-input-facade FAQ
What is vue-input-facade?
A dependency-free input masking library for Vue, forked from vue-text-mask and maintained separately.
Which input types does it support?
The README says it does not work on special input types such as number or email. Use it with text inputs.
How do I define a mask?
With tokens. S is alphabetic, # is numeric, X is alphanumeric, A and a force upper or lower case, and ? and * mark optional characters.
Can I migrate from another mask plugin?
Yes. Pass options when installing the plugin to override the default tokens or the directive name, so existing code keeps working.
Can I see examples?
The README links a demo page with more usage examples.
What are the best vue-input-facade alternatives?
Popular alternatives to vue-input-facade include maskito, react-text-mask and react-input-mask. See all vue-input-facade alternatives



















