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

@houtan-rocky/iranian-banks-react-icons

v1.2.0

Published

iranian banks React SVG icons library.

Readme

🇮🇷 Iranian Banks React Icons

A modern React icon library featuring official logos from Iranian banks, payment service providers, and financial institutions. Each logo is available in both full-color and monochrome variants, optimized as React SVG components.


Features

Complete Coverage - Icons for major Iranian banks and PSPs
🎨 Dual Variants - Color and monochrome versions for every logo
📦 Tree-Shakeable - Import only what you need
Zero Dependencies - Pure React components
🔧 TypeScript Ready - Full type definitions included
📱 React Native Compatible - Works with React Native (SVG support required)


Quick Start

Installation

npm install @houtan-rocky/iranian-banks-react-icons

or with yarn:

yarn add @houtan-rocky/iranian-banks-react-icons

Basic Usage

import { MelliColorIcon, MellatIcon } from '@houtan-rocky/iranian-banks-react-icons';

function MyComponent() {
  return (
    <div>
      <MelliColorIcon width={64} height={64} />
      <MellatIcon width={64} height={64} fill="#0066cc" />
    </div>
  );
}

Icon Variants

Every bank logo comes in two styles:

  • [BankName]ColorIcon - Full-color official logo (e.g., MelliColorIcon)
  • [BankName]Icon - Monochrome version for custom styling (e.g., MelliIcon)

Example

import {
  PasargadColorIcon,
  PasargadIcon,
  SaderatColorIcon,
  SaderatIcon
} from '@houtan-rocky/iranian-banks-react-icons';

function BankLogos() {
  return (
    <>
      {/* Full-color versions */}
      <PasargadColorIcon width={80} height={80} />
      <SaderatColorIcon width={80} height={80} />
      
      {/* Monochrome versions with custom colors */}
      <PasargadIcon width={80} height={80} fill="#ff6b00" />
      <SaderatIcon width={80} height={80} fill="#1a5490" />
    </>
  );
}

Props

All icons accept standard SVG props as defined by React.SVGProps<SVGSVGElement>, including:

  • width / height - Size control
  • fill - Color (for monochrome icons)
  • className - CSS class names
  • style - Inline styles
  • All other standard SVG attributes

Included Banks & Institutions

The library includes icons for:

Traditional Banks: Melli, Mellat, Saderat, Tejarat, Sepah, Pasargad, Saman, Refah, Keshavarzi, Maskan, Parsian, Post, and more.

Modern Banks: BluBank, Bankino, Futurebank, Iran Zamin, Ayandeh, Melall, Sarmayeh, and others.

Payment Providers: Zarrinpal, Pay.ir, Payping, NextPay, IdPay, Vandar, Digipay, and various PSPs.

Financial Networks: Shaparak, Bank Markazi, Iran Europe, Standard Chartered, and related institutions.

AsanPardakht, Ayandeh, BankMarkazi, Bankino, BluBank, Caspian, Dey, Digipay,
EghtesadNovin, Futurebank, Gardeshgari, Hesabit, Idpay, IranEurope, IranVenezuela,
IranZamin, Karafarin, Keshavarzi, KhavarMianeh, Maskan, MehrIran, Melall, Mellat,
Melli, NextPay, Noor, Parsian, Pasargad, PasargadPep, PayIr, Payping, Post, Refah,
Resalat, Sadad, Saderat, Saman, SamanKish, SanatMadan, Sarmayeh, Sepah, SepahMerged*,
Shahr, Shaparak, Sina, StandardChartered, TaavonEslami, Tejarat, Tosee,
ToseeSaderat, ToseeTaavon, Vandar, Zarrinpal, Zibal

Each bank has both Icon and ColorIcon variants.


Advanced Usage

Dynamic Icon Loading

import * as BankIcons from '@houtan-rocky/iranian-banks-react-icons';

function DynamicBankLogo({ bankName, useColor = true }) {
  const iconName = useColor 
    ? `${bankName}ColorIcon` 
    : `${bankName}Icon`;
  
  const IconComponent = BankIcons[iconName];
  
  if (!IconComponent) {
    return <span>Icon not found</span>;
  }
  
  return <IconComponent width={48} height={48} />;
}

// Usage
<DynamicBankLogo bankName="Melli" useColor={true} />
<DynamicBankLogo bankName="Pasargad" useColor={false} />

CommonJS Import

const { MelliIcon, MellatColorIcon } = require('@houtan-rocky/iranian-banks-react-icons');

Requirements

  • React: ^16.13.1 || ^17.0.1 || ^18.0.0 || ^19.2.0
  • React DOM: ^16.13.1 || ^17.0.1 || ^18.0.0 || ^19.2.0

For React Native projects, ensure you have SVG support (e.g., react-native-svg).


Technical Details

  • Format: Optimized inline SVG components
  • Build: ES modules and CommonJS support
  • Size: Tree-shakeable - only imported icons are included in your bundle
  • Performance: Lightweight SVG components with no runtime overhead

Contributing

Contributions are welcome! If you'd like to add new icons or improve existing ones:

  1. Fork the repository
  2. Create your feature branch
  3. Submit a pull request

For issues or feature requests, please use the GitHub issue tracker.


License

MIT License - see LICENSE file for details.


Links