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.

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 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. 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
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
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