gentleface

Gentleface › Games & sports › playing-cards

playing-cards icon

Playing cards: card game, playing cards, poker, card games. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated playing-cards-fan · line-round

The two cards fan out from the bottom, the front one leaning left and the back one right, showing its whole face. They close up again, slightly past square, and are tapped together.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 2.3 s. Examples and helper.

Code line-round

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
// 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: see /icons/playing-cards.md
Svelte
Svelte: see /icons/playing-cards.md
HTML img
HTML img: see /icons/playing-cards.md
CSS
CSS: see /icons/playing-cards.md
Data URL
Data URL: see /icons/playing-cards.md
Sprite
Sprite: see /icons/playing-cards.md
SwiftUI
SwiftUI: see /icons/playing-cards.md
Compose
Compose: see /icons/playing-cards.md
Android XML
Android XML: see /icons/playing-cards.md
Flutter
Flutter: see /icons/playing-cards.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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. More in how to use.

With npm: import { PlayingCardsIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
card game, playing cards, poker, card games, solitaire, planning poker, scrum poker, card deck, deck of cards
Alternatives
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)
Tags
playing-cards, cards, card-game, deck, poker, blackjack, solitaire, bridge, casino, gambling, diamond, suit, game
Category
Games & sports
Component name
PlayingCardsIcon
History
  • released in 0.2.0
  • added
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

More games & sports icons

For agents

Metadata: /icons/playing-cards.json · Markdown: /icons/playing-cards.md · SVG: https://gentleface.com/svg/{style}/16/playing-cards.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/playing-cards.png