A simple React component that can display 600 crypto icons
Report Bug
·
Request Feature
Table of Contents
React Crypto Icons provides a simple React component that can be used to display crypto logos. This project supports nearly 600 (okay 594) SVG icons taken from the cryptocurrency-icons project. You can check out the supported icons here!
This library requires the following packages to be installed:
Getting React Crypto Icons integrated with your project is a breeze! Just install using the node package manager of your choosing and voilà!
React Crypto Icons requires Node.js v12+ to run.
Install React Crypto Icons from npm
npm install react-crypto-icons
Or with yarn
yarn add react-crypto-icons
All icon names should be lowercase to avoid capitalization mismatching. To ensure consistant icon sizing, you MUST specify a size for each icon.
import React from "react";
import Icon from "react-crypto-icons";
function App() {
return (
<div className="App">
<Icon name="btc" size={25} />
</div>
);
}
export default App;
Pretty much all there is to it :)
- Add Changelog
- Add Additional Example Docs
- Add Live Demo
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch
git checkout -b feature/AmazingFeature
- Commit your Changes
git commit -m 'Add some AmazingFeature'
- Push to the Branch
git push origin feature/AmazingFeature
- Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Free Software, Yee Haw!
Riley Stephens - [email protected]