# credit-card icon

Credit card. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/credit-card

- Category: Money & finance
- Use it for: credit card, card payment, payment method, debit card, bank card, payment, pay, pay by card, payment methods, payment options, billing
- Tags: card, debit, payment, pay, billing, bank, checkout
- Family: credit-card-alert, credit-card-check, credit-card-clock, credit-card-gear, credit-card-off, credit-card-pencil, credit-card-plus, credit-card-shield, credit-card-user, credit-card-x, gift-card
- Component name: CreditCardIcon
- Added: 2026-10-14

## Alternatives

- `membership-card`: a membership or loyalty card
- `gift-card`: a gift card
- `id-card`: an identity card
- `banknote`: cash payment
- `contactless`: tap to pay
- `wallet`: pay from a wallet balance

## Also fits

- checkout: the payment step itself
- wallet: a card or payment method

## Not for

- membership card (use `membership-card`): a payment card, not a membership
- card view (use `cards`): credit-card is a payment card (credit-card)
- id card (use `id-card`): a payment card, not an identity document
- passport (use `passport`): Visa the card brand is a payment card; visa here is the entry permit

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/credit-card.svg · PNG https://gentleface.com/png/line-round/16/credit-card.png · https://gentleface.com/png/line-round/32/credit-card.png · https://gentleface.com/png/line-round/48/credit-card.png
- line-soft: https://gentleface.com/svg/line-soft/16/credit-card.svg · PNG https://gentleface.com/png/line-soft/16/credit-card.png · https://gentleface.com/png/line-soft/32/credit-card.png · https://gentleface.com/png/line-soft/48/credit-card.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/credit-card.svg · PNG https://gentleface.com/png/line-sharp/16/credit-card.png · https://gentleface.com/png/line-sharp/32/credit-card.png · https://gentleface.com/png/line-sharp/48/credit-card.png
- solid-round: https://gentleface.com/svg/solid-round/16/credit-card.svg · PNG https://gentleface.com/png/solid-round/16/credit-card.png · https://gentleface.com/png/solid-round/32/credit-card.png · https://gentleface.com/png/solid-round/48/credit-card.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/credit-card.svg · PNG https://gentleface.com/png/solid-soft/16/credit-card.png · https://gentleface.com/png/solid-soft/32/credit-card.png · https://gentleface.com/png/solid-soft/48/credit-card.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/credit-card.svg · PNG https://gentleface.com/png/solid-sharp/16/credit-card.png · https://gentleface.com/png/solid-sharp/32/credit-card.png · https://gentleface.com/png/solid-sharp/48/credit-card.png

The SVG of every style: https://gentleface.com/icons/credit-card.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z"/></svg>
```

### React

```tsx
// Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card
import type { SVGProps } from 'react';

export function CreditCardIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/credit-card.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card. Takes the text color. */
.icon-credit-card {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#credit-card"/></svg>
```

### SwiftUI

```swift
// Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card
import SwiftUI

struct CreditCardIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 14.86, y: 11.736))
        p.addCurve(to: CGPoint(x: 14.414, y: 12.414), control1: CGPoint(x: 14.758, y: 11.993), control2: CGPoint(x: 14.609, y: 12.219))
        p.addCurve(to: CGPoint(x: 13.736, y: 12.86), control1: CGPoint(x: 14.219, y: 12.609), control2: CGPoint(x: 13.993, y: 12.758))
        p.addCurve(to: CGPoint(x: 13, y: 13), control1: CGPoint(x: 13.5, y: 12.953), control2: CGPoint(x: 13.254, y: 13))
        p.addLine(to: CGPoint(x: 3, y: 13))
        p.addCurve(to: CGPoint(x: 2.264, y: 12.86), control1: CGPoint(x: 2.746, y: 13), control2: CGPoint(x: 2.5, y: 12.953))
        p.addCurve(to: CGPoint(x: 1.586, y: 12.414), control1: CGPoint(x: 2.007, y: 12.758), control2: CGPoint(x: 1.781, y: 12.609))
        p.addCurve(to: CGPoint(x: 1.14, y: 11.736), control1: CGPoint(x: 1.391, y: 12.219), control2: CGPoint(x: 1.242, y: 11.993))
        p.addCurve(to: CGPoint(x: 1, y: 11), control1: CGPoint(x: 1.047, y: 11.5), control2: CGPoint(x: 1, y: 11.254))
        p.addLine(to: CGPoint(x: 1, y: 5))
        p.addCurve(to: CGPoint(x: 1.14, y: 4.264), control1: CGPoint(x: 1, y: 4.746), control2: CGPoint(x: 1.047, y: 4.5))
        p.addCurve(to: CGPoint(x: 1.586, y: 3.586), control1: CGPoint(x: 1.242, y: 4.007), control2: CGPoint(x: 1.391, y: 3.781))
        p.addCurve(to: CGPoint(x: 2.264, y: 3.14), control1: CGPoint(x: 1.781, y: 3.391), control2: CGPoint(x: 2.007, y: 3.242))
        p.addCurve(to: CGPoint(x: 3, y: 3), control1: CGPoint(x: 2.5, y: 3.047), control2: CGPoint(x: 2.746, y: 3))
        p.addLine(to: CGPoint(x: 13, y: 3))
        p.addCurve(to: CGPoint(x: 13.736, y: 3.14), control1: CGPoint(x: 13.254, y: 3), control2: CGPoint(x: 13.5, y: 3.047))
        p.addCurve(to: CGPoint(x: 14.414, y: 3.586), control1: CGPoint(x: 13.993, y: 3.242), control2: CGPoint(x: 14.219, y: 3.391))
        p.addCurve(to: CGPoint(x: 14.86, y: 4.264), control1: CGPoint(x: 14.609, y: 3.781), control2: CGPoint(x: 14.758, y: 4.007))
        p.addCurve(to: CGPoint(x: 15, y: 5), control1: CGPoint(x: 14.953, y: 4.5), control2: CGPoint(x: 15, y: 4.746))
        p.addLine(to: CGPoint(x: 15, y: 11))
        p.addCurve(to: CGPoint(x: 14.86, y: 11.736), control1: CGPoint(x: 15, y: 11.254), control2: CGPoint(x: 14.953, y: 11.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14, y: 6))
        p.addLine(to: CGPoint(x: 14, y: 5))
        p.addCurve(to: CGPoint(x: 13.707, y: 4.293), control1: CGPoint(x: 14, y: 4.724), control2: CGPoint(x: 13.902, y: 4.488))
        p.addCurve(to: CGPoint(x: 13, y: 4), control1: CGPoint(x: 13.512, y: 4.098), control2: CGPoint(x: 13.276, y: 4))
        p.addLine(to: CGPoint(x: 3, y: 4))
        p.addCurve(to: CGPoint(x: 2.293, y: 4.293), control1: CGPoint(x: 2.724, y: 4), control2: CGPoint(x: 2.488, y: 4.098))
        p.addCurve(to: CGPoint(x: 2, y: 5), control1: CGPoint(x: 2.098, y: 4.488), control2: CGPoint(x: 2, y: 4.724))
        p.addLine(to: CGPoint(x: 2, y: 6))
        p.addLine(to: CGPoint(x: 14, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.293, y: 11.707))
        p.addCurve(to: CGPoint(x: 3, y: 12), control1: CGPoint(x: 2.488, y: 11.902), control2: CGPoint(x: 2.724, y: 12))
        p.addLine(to: CGPoint(x: 13, y: 12))
        p.addCurve(to: CGPoint(x: 13.707, y: 11.707), control1: CGPoint(x: 13.276, y: 12), control2: CGPoint(x: 13.512, y: 11.902))
        p.addCurve(to: CGPoint(x: 14, y: 11), control1: CGPoint(x: 13.902, y: 11.512), control2: CGPoint(x: 14, y: 11.276))
        p.addLine(to: CGPoint(x: 14, y: 7))
        p.addLine(to: CGPoint(x: 2, y: 7))
        p.addLine(to: CGPoint(x: 2, y: 11))
        p.addCurve(to: CGPoint(x: 2.293, y: 11.707), control1: CGPoint(x: 2, y: 11.276), control2: CGPoint(x: 2.098, y: 11.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.144, y: 9.856))
        p.addCurve(to: CGPoint(x: 3, y: 9.5), control1: CGPoint(x: 3.048, y: 9.759), control2: CGPoint(x: 3, y: 9.641))
        p.addCurve(to: CGPoint(x: 3.144, y: 9.144), control1: CGPoint(x: 3, y: 9.359), control2: CGPoint(x: 3.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 3.5, y: 9), control1: CGPoint(x: 3.241, y: 9.048), control2: CGPoint(x: 3.359, y: 9))
        p.addLine(to: CGPoint(x: 5.5, y: 9))
        p.addCurve(to: CGPoint(x: 5.856, y: 9.144), control1: CGPoint(x: 5.641, y: 9), control2: CGPoint(x: 5.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 6, y: 9.5), control1: CGPoint(x: 5.952, y: 9.241), control2: CGPoint(x: 6, y: 9.359))
        p.addCurve(to: CGPoint(x: 5.856, y: 9.856), control1: CGPoint(x: 6, y: 9.641), control2: CGPoint(x: 5.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 10), control1: CGPoint(x: 5.759, y: 9.952), control2: CGPoint(x: 5.641, y: 10))
        p.addLine(to: CGPoint(x: 3.5, y: 10))
        p.addCurve(to: CGPoint(x: 3.144, y: 9.856), control1: CGPoint(x: 3.359, y: 10), control2: CGPoint(x: 3.241, y: 9.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// CreditCardIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val CreditCardIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "credit-card", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(CreditCardIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_credit_card.xml · Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736ZM14 6L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 6L14 6ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 7L2 7L2 11C2 11.276 2.098 11.512 2.293 11.707ZM3.144 9.856C3.048 9.759 3 9.641 3 9.5C3 9.359 3.048 9.241 3.144 9.144C3.241 9.048 3.359 9 3.5 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L3.5 10C3.359 10 3.241 9.952 3.144 9.856Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "credit-card" (line-round), MIT. https://gentleface.com/icons/credit-card
import 'package:flutter/widgets.dart';

class CreditCardIcon extends StatelessWidget {
  const CreditCardIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _CreditCardIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _CreditCardIconPainter extends CustomPainter {
  _CreditCardIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(14.86, 11.736)
      ..cubicTo(14.758, 11.993, 14.609, 12.219, 14.414, 12.414)
      ..cubicTo(14.219, 12.609, 13.993, 12.758, 13.736, 12.86)
      ..cubicTo(13.5, 12.953, 13.254, 13, 13, 13)
      ..lineTo(3, 13)
      ..cubicTo(2.746, 13, 2.5, 12.953, 2.264, 12.86)
      ..cubicTo(2.007, 12.758, 1.781, 12.609, 1.586, 12.414)
      ..cubicTo(1.391, 12.219, 1.242, 11.993, 1.14, 11.736)
      ..cubicTo(1.047, 11.5, 1, 11.254, 1, 11)
      ..lineTo(1, 5)
      ..cubicTo(1, 4.746, 1.047, 4.5, 1.14, 4.264)
      ..cubicTo(1.242, 4.007, 1.391, 3.781, 1.586, 3.586)
      ..cubicTo(1.781, 3.391, 2.007, 3.242, 2.264, 3.14)
      ..cubicTo(2.5, 3.047, 2.746, 3, 3, 3)
      ..lineTo(13, 3)
      ..cubicTo(13.254, 3, 13.5, 3.047, 13.736, 3.14)
      ..cubicTo(13.993, 3.242, 14.219, 3.391, 14.414, 3.586)
      ..cubicTo(14.609, 3.781, 14.758, 4.007, 14.86, 4.264)
      ..cubicTo(14.953, 4.5, 15, 4.746, 15, 5)
      ..lineTo(15, 11)
      ..cubicTo(15, 11.254, 14.953, 11.5, 14.86, 11.736)
      ..close()
      ..moveTo(14, 6)
      ..lineTo(14, 5)
      ..cubicTo(14, 4.724, 13.902, 4.488, 13.707, 4.293)
      ..cubicTo(13.512, 4.098, 13.276, 4, 13, 4)
      ..lineTo(3, 4)
      ..cubicTo(2.724, 4, 2.488, 4.098, 2.293, 4.293)
      ..cubicTo(2.098, 4.488, 2, 4.724, 2, 5)
      ..lineTo(2, 6)
      ..lineTo(14, 6)
      ..close()
      ..moveTo(2.293, 11.707)
      ..cubicTo(2.488, 11.902, 2.724, 12, 3, 12)
      ..lineTo(13, 12)
      ..cubicTo(13.276, 12, 13.512, 11.902, 13.707, 11.707)
      ..cubicTo(13.902, 11.512, 14, 11.276, 14, 11)
      ..lineTo(14, 7)
      ..lineTo(2, 7)
      ..lineTo(2, 11)
      ..cubicTo(2, 11.276, 2.098, 11.512, 2.293, 11.707)
      ..close()
      ..moveTo(3.144, 9.856)
      ..cubicTo(3.048, 9.759, 3, 9.641, 3, 9.5)
      ..cubicTo(3, 9.359, 3.048, 9.241, 3.144, 9.144)
      ..cubicTo(3.241, 9.048, 3.359, 9, 3.5, 9)
      ..lineTo(5.5, 9)
      ..cubicTo(5.641, 9, 5.759, 9.048, 5.856, 9.144)
      ..cubicTo(5.952, 9.241, 6, 9.359, 6, 9.5)
      ..cubicTo(6, 9.641, 5.952, 9.759, 5.856, 9.856)
      ..cubicTo(5.759, 9.952, 5.641, 10, 5.5, 10)
      ..lineTo(3.5, 10)
      ..cubicTo(3.359, 10, 3.241, 9.952, 3.144, 9.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_CreditCardIconPainter old) => old.color != color;
}
```
