React components library to display logos of major payment brands and methods.
npm install react-payment-logos


A collection of SVG icons as React components for various payment methods, including flat, flat-rounded, logo, mono, and mono-outline styles.
- Installation
- Usage
- Available Icons
- Customization
- Contributing
- License
Install the package using npm:
``bash`
yarn add react-payment-logosor
npm install react-payment-logos --save
jsx
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 (
{/ Add more icons here /}
);
}export default App;
`Available Icons
Here are some of the available icons for each style:$3
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:
`jsx
``