@rogdevil/crypto-icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Contributors MIT License top-languages-shield languages-count-shield package-version-shield npm-monthly-downloads-shield


Crypto Icons

A simple React component that can display 600 crypto icons and fork of React Crypto Icons with react 18 support

Report Bug · Request Feature

Table of Contents
  1. About React Crypto Icons
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact

About React Crypto Icons

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!

Built With

This library requires the following packages to be installed:

Getting Started

Getting React Crypto Icons integrated with your project is a breeze! Just install using the node package manager of your choosing and voilà!

Prerequisites

React Crypto Icons requires Node.js v12+ to run.

Installation

Install React Crypto Icons from npm

npm install react-crypto-icons

Or with yarn

yarn add react-crypto-icons

Usage

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 :)

Roadmap

  • [x] Add Changelog
  • [ ] Add Additional Example Docs
  • [ ] Add Live Demo

See the open issues for a full list of proposed features (and known issues).

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch
    git checkout -b feature/AmazingFeature
  3. Commit your Changes
    git commit -m 'Add some AmazingFeature'
  4. Push to the Branch
     git push origin feature/AmazingFeature
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information. Free Software, Yee Haw!

Contact

rogdevil - sep2001aryan@yahoo.com

back to top

Dependents (0)

Package Sidebar

Install

npm i @rogdevil/crypto-icons

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

2.09 MB

Total Files

608

Last publish

Collaborators

  • rogdevil