React currency component. Built for Sweet Side of Sweden with ❤️.
- Stupidly simple (Pretty much just toLocaleString).
- Written in TypeScript (that's right, fight me).
- Actively maintained.
- Open Source with an actually free license (MIT).
- 0/ZERO/NADA/NOLL dependencies.
It's as simple as 1-2-3!
npm i react-tender
import { Currency } from 'react-tender';
<Currency
value={9.99} // Required
currency="USD" // Optional, (defaults to USD)
locale="en-US" // Optional, (defaults to en-US)
/>