Thank you for choosing to contribute to token-icons
! We appreciate your contributions to making Token Icons the most comprehensive and accurate source for cryptocurrency icons!
The SVG files must be put inside of a 24x24px frame and should not fill it's bounding box. Refer to our Figma Community file for the current icons and make sure that you follow the same format.
You can find this icon grid as svg on /docs/icon-grid.svg
The @web3icons/core package contains the following folder structure:
packages/core
├── metadata
│ ├── networks.json
│ └── tokens.json
├── svgs
│ ├── networks
│ │ ├── branded
│ │ │ ├── ethereum.svg
│ │ │ ├── binance-smart-chain.svg
│ │ │ ├── avalanche.svg
│ │ ├── mono
│ │ │ ├── ethereum.svg
│ │ │ ├── binance-smart-chain.svg
│ │ │ ├── avalanche.svg
│ ├── tokens
│ │ ├── branded
│ │ │ ├── ETH.svg
│ │ │ ├── BTC.svg
│ │ │ ├── GRT.svg
│ │ ├── mono
│ │ │ ├── ETH.svg
│ │ │ ├── BTC.svg
│ │ │ ├── GRT.svg
The @web3icons/react package contains the following folder structure:
packages/react
├── icons
│ ├── networks
│ │ ├── NetworkAvalanche.tsx
│ │ ├── NetworkBinanceSmartChain.tsx
│ │ ├── NetworkEthereum.tsx
│ ├── tokens
│ │ ├── TokenBTC.tsx
│ │ ├── TokenETH.tsx
│ │ ├── TokenGRT.tsx
When contributing to the @web3icons/core package, please follow the naming convention for the SVG files.
For token icons, the svg file should be named with the uppercase symbol of the token.
BTC.svg
ETH.svg
GRT.svg
For network icons, the svg file should be named with the kebab-case name of the network.
ethereum.svg
binance-smart-chain.svg
avalanche.svg
If you'd like to contribute directly by adding new icons or fixing issues:
- Fork the repository.
- Clone your fork and create a new branch:
git checkout -b branch-name
- Add or update icons to the related folders of
core/src/svgs/
- on the root of the project run
bun run add-icons
to add the new icons to the metadata - Commit and push your changes and create a pull request.
- In the pull request, provide a detailed description of your changes and reference any related issues.
If you spot a bug or an incorrect icon:
- Go to the Issues section of our GitHub repository.
- Create a new issue, providing a clear title and a detailed description of the bug or the problem with the icon.
- If possible, include screenshots or additional documentation to help us understand the issue.
- Submit the issue, and we will look into it promptly.
We're constantly looking to expand token-icons
with new and updated icons. If there's a specific icon you'd like to see included:
- Check the repository first to ensure the icon isn't already available.
- If the icon is not present, open a New Icon Request issue on GitHub.
- Provide the name of the token, a link to the official logo (if available), and any other relevant details.
- We will review the request and work on adding the icon to the token-icons.