New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-payment-logos

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-payment-logos

React components library to display logos of major payment brands and methods.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
237
decreased by-58.05%
Maintainers
1
Weekly downloads
 
Created
Source

React Payment Logos

npm version License GitHub stars

A collection of SVG icons as React components for various payment methods, including flat, flat-rounded, logo, mono, and mono-outline styles.

React Payment Logos

Table of Contents

Installation

Install the package using npm:

yarn add react-payment-logos
# or
npm install react-payment-logos --save

Usage

Import the icon components based on your preferred style and payment method:

import React from 'react';
import { Mastercard, Visa, Paypal } from 'react-payment-logos/dist/flat';
// or
// import Mastercard from 'react-payment-logos/dist/flat/Mastercard';

function App() {
  return (
    <div>
      <Mastercard />
      <Visa />
      <Paypal />
      {/* Add more icons here */}
    </div>
  );
}

export default App;

Available Icons

Here are some of the available icons for each style:

Flat Style

Mastercard Visa Paypal ... For a complete list of available icons and their usage, refer to the documentation.

Customization

You can customize the icons using props. For example:

<Mastercard width={64} height={64} />

Demo

Check out our Demo Site to see the icons in action and experiment with different styles and usage scenarios.

Contributing

Contributions are welcome! Please read our Contribution Guidelines for details.

License

This project is licensed under the MIT License © iamgutz.

Keywords

FAQs

Package last updated on 10 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc