Skip to content
R

react-currency-input

React component for inputing currency amounts

by aesopwolfFree

#1211in UI Libraries
0In stores

Description

react-currency-input is an ES2015 React component for entering currency amounts. It supports custom decimal and thousand separators as well…

Highlights

  • Currency input for React
  • Custom decimal and thousand separators
  • Set precision and currency symbol
  • Read values with getMaskedValue
  • Other attributes passed to the input

Ratings & Reviews

No ratings yet

Be the first to rate react-currency-input.

People also visit

R

react-currency-format

React component to format currency in an input or as a text

UI Libraries
Launch
R

react-number-format

React component to format number in an input or as a text

UI Libraries
Launch
R

react-native-currency-input

A simple currency input component for both iOS and Android

UI Libraries
Launch
R

@react-input/mask

React input component for masked input

UI Libraries
Launch
V

vue-currency-input

Easy input of currency formatted numbers for Vue.js

UI Libraries
Launch
R

react-input-mask

Input masking component for React. Made with attention to UX

UI Libraries
Launch

react-currency-input FAQ

What is react-currency-input?

An ES2015 React component for entering currency amounts, with custom separators and precision.

How do I read the value?

Store the value from the change handler in state, or assign a ref and call getMaskedValue().

What replaced onChange?

onChangeEvent. The README marks onChange as deprecated.

Can I add a currency symbol?

Yes. Set it as a prefix or suffix. Negative signs come before the prefix.

Can I use Bootstrap styling?

Yes. The README says other attributes go to the input element, so Bootstrap classes work.

What are the best react-currency-input alternatives?

Popular alternatives to react-currency-input include react-currency-format, react-number-format and react-native-currency-input. See all react-currency-input alternatives

Developer Stuff

Badges