John KuehJohn Kueh

credit card icon

Heroicons · credit-card · MIT

Download SVG

The Heroicons credit card icon visually represents a payment card, commonly used in UIs to denote payment methods, financial transactions, or billing information.

Common uses

  • Payment method selection
  • Billing and subscription management
  • Transaction history

Use it in React

Install
npm i @heroicons/react
Import & render
import { CreditCardIcon } from '@heroicons/react/24/outline';

<CreditCardIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<CreditCardIcon className="size-6" />
24/solid
<CreditCardIcon className="size-6" />
20/solid
<CreditCardIcon className="size-6" />
16/solid
<CreditCardIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
creditcardpayment cardfinance

FAQ

What is the credit card icon used for?
It's typically used to represent payment, financial services, or billing sections within an application.
How do I use the credit card icon in React?
You can import it from Heroicons and use it like so: import { CreditCardIcon } from '@heroicons/react/24/outline'.
What is the license for Heroicons?
Heroicons are distributed under the MIT license, allowing for free use in commercial and non-commercial projects.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →