npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vnaidin/react-native-cryptocurrency-icons

v0.0.28

Published

React Native cryptocurrency icons as PNG components

Readme

React Native Cryptocurrency Icons

514+ cryptocurrency icons as PNG components for React Native. Works with bare RN, Expo, and any Metro-based workflow — no native linking, no SVG renderer needed.

Browse the gallery →


Install

npm install @vnaidin/react-native-cryptocurrency-icons

Usage

import { CryptoIcon } from '@vnaidin/react-native-cryptocurrency-icons';

<CryptoIcon
  symbol="btc"
  size={32}
/>

symbol is case-insensitive. Unknown symbols silently fall back to a placeholder — no crash.

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | symbol | string | — | Coin symbol, e.g. "btc", "ETH" | | size | number | 32 | Rendered width/height in points | | resizeMode | ImageResizeMode | "contain" | How the image scales within its bounds | | accessibilityLabel | string | symbol uppercased | Screen reader label | | style | StyleProp<ImageStyle> | — | Extra styles passed to <Image> |

Utilities

import {
  getCryptoIconSource,
  getSupportedSymbols,
} from '@vnaidin/react-native-cryptocurrency-icons';

// Get the image source directly (useful for custom Image components)
const source = getCryptoIconSource('eth');

// Get all supported symbol strings
const symbols = getSupportedSymbols(); // ['0xbtc', 'aave', 'ada', ...]

Adding a new coin

  1. Drop a PNG into icons/originals/ — any size, transparent background, named <symbol>.png (lowercase)
  2. Run npm run generate — resizes to 128×128 and regenerates src/iconsMap.ts
  3. Run npm run build and commit

Missing a coin? Open an issue.


Dev reference

npm run generate     # Resize originals/ → icons/128/, regenerate iconsMap.ts + validate
npm run build        # Compile TypeScript (src/ → dist/) — run before committing
npm run check        # Validate iconsMap.ts ↔ icons/128/ are in sync (bidirectional)
npm run generateDoc  # Regenerate docs/index.html gallery

Pre-commit hook (Husky) runs check + auto-bumps the patch version in package.json — don't edit the version manually.

Publishing is automatic via GitHub Actions on pushes to master that touch package.json, src/**, or dist/**. Always run npm run build locally first — dist/ is committed and included in the published package.

Docs (docs/index.html) are regenerated and deployed to GitHub Pages automatically on pushes to master that touch docs/**, scripts/generate-html-gallery.js, or src/iconsMap.ts.


License

CC0-1.0 — icons originally from cryptoicons.co by Christopher Downer. React Native adaptation by vnaidin.