import { Card } from "fmicon-react";
<Card size={24} variant="bold" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
More in Money
What is the Card Icon?
This credit card icon draws a plastic card with a stripe band across the top and short lines standing in for the card number. It means paying with a card or managing one: use it on checkout payment steps, saved card lists, billing settings and buttons that add, replace or freeze a card.
The stripe band and number lines come straight from bank cards, so people read the glyph as one method of payment rather than money in general. It is often confused with a wallet, which means a stored balance holding several methods, and with a receipt, which means proof of a payment already made. Many shops show it on the pay button to signal that card details are next.
When to Use the Credit Card Icon
- Checkout page: labels the card payment option alongside wallets and bank transfer, opening the card details form.
- Subscription billing settings: marks the current card on file with its last four digits and expiry date.
- Banking app card controls: opens freeze, PIN reminder and spending limit options for a physical or virtual card.
- Mobile payment onboarding: shows the step where people scan or add a card to start paying in shops.
The Card Icon in Bold Style
Bold icons are solid filled shapes. They read fastest at small sizes and carry the most visual weight, which is why they work so well for the selected state of a tab or toggle.
Best for: active and selected states, small sizes and bold brands.
The same icon also comes in linear, outline, bulk, twotone, broken, glass and duotone. See every icon in this look on the free bold icons page.
How to Use the Card Icon
- Customise it. Bold is a filled style, so pick a size and colour on the left; stroke weight doesn't apply.
- Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
- Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made
CardIconcomponent. - Label it. If the icon is the only thing in a button, give it a name for screen readers:
aria-label="Add payment card". If text sits next to it, usearia-hidden="true"instead.
Design Tips for the Card Icon
- Keep the stripe band thick enough to survive 16 px; a hairline stripe disappears and the card reads as an empty rectangle.
- Beside saved cards, show the network logo and last four digits as text, since the generic glyph cannot tell two cards apart.
- On a pay button, keep the action in the label, such as Pay by card, rather than relying on the icon alone.
Icons That Work Well with Card
Browse all money iconsCard Icon FAQ
Yes, one card glyph covers both credit and debit because the physical cards look the same. If your product separates them, say so in the label or a tag rather than drawing different shapes, since people cannot tell card types apart from an outline.
Use the plain card glyph for the card payment option and keep network logos for the accepted cards row. Showing the generic glyph on the option and real logos below it helps shoppers recognise the method quickly without crowding the button.
Yes. The card icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.
SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.