{"repo":"cchanxzy/react-currency-input-field","free":true,"listed":false,"github":"https://github.com/cchanxzy/react-currency-input-field","clone":"git clone https://github.com/cchanxzy/react-currency-input-field.git","description":"React component for an input field","language":"TypeScript","stars":804,"topics":["react","typescript","react-component","input"],"license":"MIT","category":"ui-components","readme_excerpt":"React Currency Input Field Component - React Currency Input Field Component - Features - Examples - Install - Usage - Props - onValueChange - value - name - values - Abbreviations - Prefix and Suffix - Separators - Intl Locale Config - Decimal Scale and Decimals Limit - Fixed Decimal Length - Format values for display - Issues - Contributing - Support this Project - v4.0.0 Announcement Features - Supports abbreviations (e.g. 1k → 1,000 , 2.5m → 2,500,000 ) - Prefix and suffix support (e.g. £ , $ ) - Automatically inserts group separators - Accepts Intl locale config - Keyboard stepping with ArrowUp / ArrowDown - Can allow/disallow decimals - Written in TypeScript and has type support - Zero runtime dependencies (ie. does not depend on any third party packages except for development) - Bundle size 7.6kB (Minified), 3.1kB (Minified + Gzipped) Examples Play with demo or view examples code Install Usage See src/examples for more patterns covering implementation details and validation helpers. Props Name Type Default Description -------------------------------------------------- ------------------- -------------- ------------------------------------------------------------------------------------------------------------ allowDecimals boolean true Allow entering decimal values. allowNegativeValue boolean true Allow the user to enter negative numbers. className string Additional CSS class names for the rendered input. customInput React.ElementType input Render a custom component ins","default_branch":null,"files":null,"tree":[],"storefront":"/r/cchanxzy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cchanxzy/react-currency-input-field/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}