vue-currency-input
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

Codecov npm Version npm Downloads Bundlephobia License

Vue Currency Input

Vue Currency Input allows an easy input of currency formatted numbers based on the ECMAScript Internationalization API (Intl.NumberFormat).

Built on top of the Vue Composition API, it enables you to decorate any input component with currency format capabilities.

Features

  • Turns the input component of your favorite framework (for example Vuetify, Quasar or Element Plus) into a currency input field
  • Supports both Vue 2 and Vue 3
  • Built on standards: Ensures the right locale dependent formatting by using Intl.NumberFormat
  • Unobtrusive input by hiding the formatting on focus
  • Built-in value range validation

Getting started

Please read the guide to get started or check out the playground to see it in action.

Support me

If you find my work helpful, or you want to support the development, star the repo or buy me a coffee:

ko-fi

Package Sidebar

Install

npm i vue-currency-input

Weekly Downloads

65,092

Version

3.1.0

License

MIT

Unpacked Size

61.1 kB

Total Files

6

Last publish

Collaborators

  • dm4t2