@vnaidin/react-native-cryptocurrency-icons
Version:
React Native cryptocurrency icons as PNG components
45 lines (26 loc) • 1.91 kB
Markdown
# React Native Cryptocurrency Icons
This project is a React Native adaptation of [cryptoicons.co](http://cryptoicons.co), containing over 7,500 icons for almost 500 cryptocurrencies, in a range of sizes. Completely free. All we ask is that you don’t claim them as your own, and share this resource with others.
We also have some fiat currencies: `USD`, `GBP`, `EUR`, `JPY`, `CNY`, `RUB`. _(We don't intend to add more)_
Images are in PNG format (transparent) in `32×32`, `64x64`, and `128×128` variants.
If there is an altcoin you’re looking for that hasn’t been included, please [create a new issue](https://github.com/vnaidin/react-native-cryptocurrency-icons/issues/new?assignees=vnaidin&labels=coin+request&template=add-currency.md&title=Add+Currency+%28Symbol%29).
---
## Install 🚀
```
$ npm install @vnaidin/react-native-cryptocurrency-icons
```
## Usage in React Native
Import the icon component or icon map:
```js
import { CryptoIcon } from "@vnaidin/react-native-cryptocurrency-icons";
<CryptoIcon symbol="tex" originSize={32} />;
```
---
## Special Thanks 👏
Thanks to [Christopher Downer](https://github.com/cjdowner) for starting the original project, all our wonderful [contributors](https://github.com/spothq/cryptocurrency-icons/graphs/contributors), and to all who have maintained and adapted this resource.
**React Native adaptation and maintenance by [vnaidin](https://github.com/vnaidin), with respect to all previous authors.**
---
## From author
I came across all the crypto icons libraries, while developing my crypto wallet, and found out that icons in RN is a bit painful thing.
That's why I found the most suitable already existing library, adopted to my requirements, added some coins(and will be more).
SO: my library is the easiest way to use crypto icons, no fonts adding and so on, just import and provide 'symbol'.
Feel free to add issues,etc.