
Description
react-native-currency-input is a React Native component for entering numbers in a custom format, most often a currency amount. It works on iOS and Android and is built as a thin layer over the standard TextInput, so you can pass the usual TextInput props and customize it as you would any input. The format is set with props for precision, delimiter, separator, prefix and suffix, so you can match the number style of a country or a product. It handles negative values, and the signPosition prop chooses where the minus sign appears. The minValue and maxValue props keep the entered number within a range. The README describes it as usable for any number input, not only money. A controlled value and an onChangeValue callback let your code hold the number. Two extras are included: a FakeCurrencyInput component, which hides the real input to avoid a flicker problem on some devices, and a formatNumber function that formats a number for display. The package supports React Native and React Hooks, and the source is public on GitHub.…
Highlights
- Number input with custom format for iOS and Android
- Precision, delimiter, separator, prefix and suffix props
- Negative values with a sign position option
- Minimum and maximum value limits
- FakeCurrencyInput to avoid flicker
- formatNumber helper for display
Ratings & Reviews
No ratings yet
Be the first to rate react-native-currency-input.
People also visit

react-native-advanced-input-mask
Text input mask for React Native on iOS, Android and web
react-native-currency-input FAQ
What is react-native-currency-input?
A React Native component for entering numbers with a custom format, usually a currency amount, on iOS and Android.
Is it free?
Yes. The source is public on GitHub and listed as open source.
Can I format numbers other than money?
Yes. The README says it can be used for any number input, and the precision, delimiter and separator props control the format.
How do I keep the value within a range?
Set the minValue and maxValue props.
What are the best react-native-currency-input alternatives?
Popular alternatives to react-native-currency-input include react-currency-input, react-currency-format and react-number-format. See all react-native-currency-input alternatives


















