# playing-cards icon

Playing cards. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/playing-cards

- Category: Games & sports
- Use it for: card game, playing cards, poker, card games, solitaire
- Tags: playing-cards, cards, card-game, deck, poker, blackjack, solitaire, bridge, casino, gambling, diamond, suit, game
- Component name: PlayingCardsIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { PlayingCardsIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Alternatives

- `poker-chip`: a casino or betting

## Don't confuse with

- `cards`: cards is the card view in a layout

## Also fits

- club suit: card games in general
- board game: card games
- casino: card games or poker

## Not for

- card view (use `cards`): playing cards belong to games (playing-cards)

## 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/playing-cards.svg · PNG https://gentleface.com/png/line-round/16/playing-cards.png · https://gentleface.com/png/line-round/32/playing-cards.png · https://gentleface.com/png/line-round/48/playing-cards.png
- line-soft: https://gentleface.com/svg/line-soft/16/playing-cards.svg · PNG https://gentleface.com/png/line-soft/16/playing-cards.png · https://gentleface.com/png/line-soft/32/playing-cards.png · https://gentleface.com/png/line-soft/48/playing-cards.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/playing-cards.svg · PNG https://gentleface.com/png/line-sharp/16/playing-cards.png · https://gentleface.com/png/line-sharp/32/playing-cards.png · https://gentleface.com/png/line-sharp/48/playing-cards.png
- solid-round: https://gentleface.com/svg/solid-round/16/playing-cards.svg · PNG https://gentleface.com/png/solid-round/16/playing-cards.png · https://gentleface.com/png/solid-round/32/playing-cards.png · https://gentleface.com/png/solid-round/48/playing-cards.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/playing-cards.svg · PNG https://gentleface.com/png/solid-soft/16/playing-cards.png · https://gentleface.com/png/solid-soft/32/playing-cards.png · https://gentleface.com/png/solid-soft/48/playing-cards.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/playing-cards.svg · PNG https://gentleface.com/png/solid-sharp/16/playing-cards.png · https://gentleface.com/png/solid-sharp/32/playing-cards.png · https://gentleface.com/png/solid-sharp/48/playing-cards.png

The SVG of every style: https://gentleface.com/icons/playing-cards.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="M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z"/></svg>
```

### React

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

export function PlayingCardsIcon(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="M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards -->
<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="M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards -->
<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="M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards. 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/playing-cards.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards. Takes the text color. */
.icon-playing-cards {
  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='M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z'/%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='M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z'/%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='M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards
     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#playing-cards"/></svg>
```

### SwiftUI

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

struct PlayingCardsIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.736, y: 1.14))
        p.addCurve(to: CGPoint(x: 13.414, y: 1.586), control1: CGPoint(x: 12.993, y: 1.242), control2: CGPoint(x: 13.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 13.86, y: 2.264), control1: CGPoint(x: 13.609, y: 1.781), control2: CGPoint(x: 13.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 14, y: 3), control1: CGPoint(x: 13.953, y: 2.5), control2: CGPoint(x: 14, y: 2.746))
        p.addLine(to: CGPoint(x: 14, y: 12.5))
        p.addCurve(to: CGPoint(x: 13.856, y: 12.856), control1: CGPoint(x: 14, y: 12.641), control2: CGPoint(x: 13.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 13), control1: CGPoint(x: 13.759, y: 12.952), control2: CGPoint(x: 13.641, y: 13))
        p.addCurve(to: CGPoint(x: 13.144, y: 12.856), control1: CGPoint(x: 13.359, y: 13), control2: CGPoint(x: 13.241, y: 12.952))
        p.addCurve(to: CGPoint(x: 13, y: 12.5), control1: CGPoint(x: 13.048, y: 12.759), control2: CGPoint(x: 13, y: 12.641))
        p.addLine(to: CGPoint(x: 13, y: 3))
        p.addCurve(to: CGPoint(x: 12.707, y: 2.293), control1: CGPoint(x: 13, y: 2.724), control2: CGPoint(x: 12.902, y: 2.488))
        p.addCurve(to: CGPoint(x: 12, y: 2), control1: CGPoint(x: 12.512, y: 2.098), control2: CGPoint(x: 12.276, y: 2))
        p.addLine(to: CGPoint(x: 4.5, y: 2))
        p.addCurve(to: CGPoint(x: 4.144, y: 1.856), control1: CGPoint(x: 4.359, y: 2), control2: CGPoint(x: 4.241, y: 1.952))
        p.addCurve(to: CGPoint(x: 4, y: 1.5), control1: CGPoint(x: 4.048, y: 1.759), control2: CGPoint(x: 4, y: 1.641))
        p.addCurve(to: CGPoint(x: 4.144, y: 1.144), control1: CGPoint(x: 4, y: 1.359), control2: CGPoint(x: 4.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 1), control1: CGPoint(x: 4.241, y: 1.048), control2: CGPoint(x: 4.359, y: 1))
        p.addLine(to: CGPoint(x: 12, y: 1))
        p.addCurve(to: CGPoint(x: 12.736, y: 1.14), control1: CGPoint(x: 12.254, y: 1), control2: CGPoint(x: 12.5, y: 1.047))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.414, y: 14.414))
        p.addCurve(to: CGPoint(x: 10.736, y: 14.86), control1: CGPoint(x: 11.219, y: 14.609), control2: CGPoint(x: 10.993, y: 14.758))
        p.addCurve(to: CGPoint(x: 10, y: 15), control1: CGPoint(x: 10.5, y: 14.953), control2: CGPoint(x: 10.254, y: 15))
        p.addLine(to: CGPoint(x: 4, y: 15))
        p.addCurve(to: CGPoint(x: 3.264, y: 14.86), control1: CGPoint(x: 3.746, y: 15), control2: CGPoint(x: 3.5, y: 14.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 14.414), control1: CGPoint(x: 3.007, y: 14.758), control2: CGPoint(x: 2.781, y: 14.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 13.736), control1: CGPoint(x: 2.391, y: 14.219), control2: CGPoint(x: 2.242, y: 13.993))
        p.addCurve(to: CGPoint(x: 2, y: 13), control1: CGPoint(x: 2.047, y: 13.5), control2: CGPoint(x: 2, y: 13.254))
        p.addLine(to: CGPoint(x: 2, y: 5))
        p.addCurve(to: CGPoint(x: 2.14, y: 4.264), control1: CGPoint(x: 2, y: 4.746), control2: CGPoint(x: 2.047, y: 4.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 3.586), control1: CGPoint(x: 2.242, y: 4.007), control2: CGPoint(x: 2.391, y: 3.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 3.14), control1: CGPoint(x: 2.781, y: 3.391), control2: CGPoint(x: 3.007, y: 3.242))
        p.addCurve(to: CGPoint(x: 4, y: 3), control1: CGPoint(x: 3.5, y: 3.047), control2: CGPoint(x: 3.746, y: 3))
        p.addLine(to: CGPoint(x: 10, y: 3))
        p.addCurve(to: CGPoint(x: 10.736, y: 3.14), control1: CGPoint(x: 10.254, y: 3), control2: CGPoint(x: 10.5, y: 3.047))
        p.addCurve(to: CGPoint(x: 11.414, y: 3.586), control1: CGPoint(x: 10.993, y: 3.242), control2: CGPoint(x: 11.219, y: 3.391))
        p.addCurve(to: CGPoint(x: 11.86, y: 4.264), control1: CGPoint(x: 11.609, y: 3.781), control2: CGPoint(x: 11.758, y: 4.007))
        p.addCurve(to: CGPoint(x: 12, y: 5), control1: CGPoint(x: 11.953, y: 4.5), control2: CGPoint(x: 12, y: 4.746))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addCurve(to: CGPoint(x: 11.86, y: 13.736), control1: CGPoint(x: 12, y: 13.254), control2: CGPoint(x: 11.953, y: 13.5))
        p.addCurve(to: CGPoint(x: 11.414, y: 14.414), control1: CGPoint(x: 11.758, y: 13.993), control2: CGPoint(x: 11.609, y: 14.219))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.293, y: 13.707))
        p.addCurve(to: CGPoint(x: 4, y: 14), control1: CGPoint(x: 3.488, y: 13.902), control2: CGPoint(x: 3.724, y: 14))
        p.addLine(to: CGPoint(x: 10, y: 14))
        p.addCurve(to: CGPoint(x: 10.707, y: 13.707), control1: CGPoint(x: 10.276, y: 14), control2: CGPoint(x: 10.512, y: 13.902))
        p.addCurve(to: CGPoint(x: 11, y: 13), control1: CGPoint(x: 10.902, y: 13.512), control2: CGPoint(x: 11, y: 13.276))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.addCurve(to: CGPoint(x: 10.707, y: 4.293), control1: CGPoint(x: 11, y: 4.724), control2: CGPoint(x: 10.902, y: 4.488))
        p.addCurve(to: CGPoint(x: 10, y: 4), control1: CGPoint(x: 10.512, y: 4.098), control2: CGPoint(x: 10.276, y: 4))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.addCurve(to: CGPoint(x: 3.293, y: 4.293), control1: CGPoint(x: 3.724, y: 4), control2: CGPoint(x: 3.488, y: 4.098))
        p.addCurve(to: CGPoint(x: 3, y: 5), control1: CGPoint(x: 3.098, y: 4.488), control2: CGPoint(x: 3, y: 4.724))
        p.addLine(to: CGPoint(x: 3, y: 13))
        p.addCurve(to: CGPoint(x: 3.293, y: 13.707), control1: CGPoint(x: 3, y: 13.276), control2: CGPoint(x: 3.098, y: 13.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7, y: 12))
        p.addLine(to: CGPoint(x: 4.354, y: 9.354))
        p.addLine(to: CGPoint(x: 4.353, y: 9.353))
        p.addLine(to: CGPoint(x: 4, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 6))
        p.addLine(to: CGPoint(x: 10, y: 9))
        p.addLine(to: CGPoint(x: 7, y: 12))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards
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 PlayingCardsIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "playing-cards", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_playing_cards.xml · Gentleface "playing-cards" (line-round), MIT. https://gentleface.com/icons/playing-cards -->
<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="M12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 12.5C14 12.641 13.952 12.759 13.856 12.856C13.759 12.952 13.641 13 13.5 13C13.359 13 13.241 12.952 13.144 12.856C13.048 12.759 13 12.641 13 12.5L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2L4.5 2C4.359 2 4.241 1.952 4.144 1.856C4.048 1.759 4 1.641 4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L12 1C12.254 1 12.5 1.047 12.736 1.14ZM11.414 14.414C11.219 14.609 10.993 14.758 10.736 14.86C10.5 14.953 10.254 15 10 15L4 15C3.746 15 3.5 14.953 3.264 14.86C3.007 14.758 2.781 14.609 2.586 14.414C2.391 14.219 2.242 13.993 2.14 13.736C2.047 13.5 2 13.254 2 13L2 5C2 4.746 2.047 4.5 2.14 4.264C2.242 4.007 2.391 3.781 2.586 3.586C2.781 3.391 3.007 3.242 3.264 3.14C3.5 3.047 3.746 3 4 3L10 3C10.254 3 10.5 3.047 10.736 3.14C10.993 3.242 11.219 3.391 11.414 3.586C11.609 3.781 11.758 4.007 11.86 4.264C11.953 4.5 12 4.746 12 5L12 13C12 13.254 11.953 13.5 11.86 13.736C11.758 13.993 11.609 14.219 11.414 14.414ZM3.293 13.707C3.488 13.902 3.724 14 4 14L10 14C10.276 14 10.512 13.902 10.707 13.707C10.902 13.512 11 13.276 11 13L11 5C11 4.724 10.902 4.488 10.707 4.293C10.512 4.098 10.276 4 10 4L4 4C3.724 4 3.488 4.098 3.293 4.293C3.098 4.488 3 4.724 3 5L3 13C3 13.276 3.098 13.512 3.293 13.707ZM7 12L4.354 9.354L4.353 9.353L4 9L7 6L10 9L7 12Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.736, 1.14)
      ..cubicTo(12.993, 1.242, 13.219, 1.391, 13.414, 1.586)
      ..cubicTo(13.609, 1.781, 13.758, 2.007, 13.86, 2.264)
      ..cubicTo(13.953, 2.5, 14, 2.746, 14, 3)
      ..lineTo(14, 12.5)
      ..cubicTo(14, 12.641, 13.952, 12.759, 13.856, 12.856)
      ..cubicTo(13.759, 12.952, 13.641, 13, 13.5, 13)
      ..cubicTo(13.359, 13, 13.241, 12.952, 13.144, 12.856)
      ..cubicTo(13.048, 12.759, 13, 12.641, 13, 12.5)
      ..lineTo(13, 3)
      ..cubicTo(13, 2.724, 12.902, 2.488, 12.707, 2.293)
      ..cubicTo(12.512, 2.098, 12.276, 2, 12, 2)
      ..lineTo(4.5, 2)
      ..cubicTo(4.359, 2, 4.241, 1.952, 4.144, 1.856)
      ..cubicTo(4.048, 1.759, 4, 1.641, 4, 1.5)
      ..cubicTo(4, 1.359, 4.048, 1.241, 4.144, 1.144)
      ..cubicTo(4.241, 1.048, 4.359, 1, 4.5, 1)
      ..lineTo(12, 1)
      ..cubicTo(12.254, 1, 12.5, 1.047, 12.736, 1.14)
      ..close()
      ..moveTo(11.414, 14.414)
      ..cubicTo(11.219, 14.609, 10.993, 14.758, 10.736, 14.86)
      ..cubicTo(10.5, 14.953, 10.254, 15, 10, 15)
      ..lineTo(4, 15)
      ..cubicTo(3.746, 15, 3.5, 14.953, 3.264, 14.86)
      ..cubicTo(3.007, 14.758, 2.781, 14.609, 2.586, 14.414)
      ..cubicTo(2.391, 14.219, 2.242, 13.993, 2.14, 13.736)
      ..cubicTo(2.047, 13.5, 2, 13.254, 2, 13)
      ..lineTo(2, 5)
      ..cubicTo(2, 4.746, 2.047, 4.5, 2.14, 4.264)
      ..cubicTo(2.242, 4.007, 2.391, 3.781, 2.586, 3.586)
      ..cubicTo(2.781, 3.391, 3.007, 3.242, 3.264, 3.14)
      ..cubicTo(3.5, 3.047, 3.746, 3, 4, 3)
      ..lineTo(10, 3)
      ..cubicTo(10.254, 3, 10.5, 3.047, 10.736, 3.14)
      ..cubicTo(10.993, 3.242, 11.219, 3.391, 11.414, 3.586)
      ..cubicTo(11.609, 3.781, 11.758, 4.007, 11.86, 4.264)
      ..cubicTo(11.953, 4.5, 12, 4.746, 12, 5)
      ..lineTo(12, 13)
      ..cubicTo(12, 13.254, 11.953, 13.5, 11.86, 13.736)
      ..cubicTo(11.758, 13.993, 11.609, 14.219, 11.414, 14.414)
      ..close()
      ..moveTo(3.293, 13.707)
      ..cubicTo(3.488, 13.902, 3.724, 14, 4, 14)
      ..lineTo(10, 14)
      ..cubicTo(10.276, 14, 10.512, 13.902, 10.707, 13.707)
      ..cubicTo(10.902, 13.512, 11, 13.276, 11, 13)
      ..lineTo(11, 5)
      ..cubicTo(11, 4.724, 10.902, 4.488, 10.707, 4.293)
      ..cubicTo(10.512, 4.098, 10.276, 4, 10, 4)
      ..lineTo(4, 4)
      ..cubicTo(3.724, 4, 3.488, 4.098, 3.293, 4.293)
      ..cubicTo(3.098, 4.488, 3, 4.724, 3, 5)
      ..lineTo(3, 13)
      ..cubicTo(3, 13.276, 3.098, 13.512, 3.293, 13.707)
      ..close()
      ..moveTo(7, 12)
      ..lineTo(4.354, 9.354)
      ..lineTo(4.353, 9.353)
      ..lineTo(4, 9)
      ..lineTo(7, 6)
      ..lineTo(10, 9)
      ..lineTo(7, 12)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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