react-numeric-component
v1.0.5
Published
react-component react currency input number number-format mask
Downloads
1,405
Maintainers
Readme
react-numeric-component
React Number Component is an input-formatter library with a sophisticated and light weight caret engine. It ensures that a user can only enter text that meets specific numeric or string patterns, and formats the input value for display.
Features
- Prefix, suffix and thousands separator.
- Input Masking.
- Format number in an input or format as a simple text.
- Custom pattern formatting.
- Custom formatting handler.
- Fully customizable
- Min & MAx
Install
Using npm
npm install react-numeric-component
Using yarn
yarn add react-numeric-component
ES6
Numeric Format
import { NumericFormat } from 'react-numeric-component';
Pattern Format
import { PatternFormat } from 'react-numeric-component';