How to Add Currency Symbols in React Native

Sometimes, you may need to show currency symbols inside your React Native app. For example, if you are creating an app like currency converter then you certainly need currency symbols.

Showing currency symbol in React Native is almost the same as in HTML. Just get the HTML Unicode of the currency and you can implement it in the app.

For example, the HTML Unicode of US Dollar currency is 0024. Then use the Unicode as given below inside the JSX.

<Text>{'\u0024'}</Text>

That’s it. If you want to know HTML Unicode of more currencies then you can refer this link.

Leave a Reply

%d bloggers like this: