Currency input
An enhanced input field that provides visual and non-visual cues to a user when entering an amount of money in a specified currency.
Features
- Fully customisable formatter
- Formik wrapper available.
- Validate with schemas
Currency formatting
When establishing a unified approach in regards to currency formatting, we decided to go with Appended currency codes, this means that we always:
- Use currency codes (EUR, GBP, DKK, SEK, etc) and not symbols (€/£/$)
- Append currency codes to numeric values (regardless of the locale), like this:
1,230.00 USD
- Use decimal and thousand separators of the user's locale
Related components
- Input: An element used to create interactive controls for web-based forms in order to accept data from the user.
- Features
- Currency formatting
- Related components
On this page