Card 2 Hearts
The card-2-hearts icon represents a two of hearts playing card, commonly used in card games and casinos.
Exports at 24 × 24 px
Code
Card 2 Hearts in your framework
In any framework. Customize it above, and the code follows.
export const Card2HeartsIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512" {...props}>
<path fill="currentColor" d="M119.434 36c-16.126 0-29.2 17.237-29.2 38.5v363c0 21.263 13.074 38.5 29.2 38.5h275.298c16.126 0 29.198-17.237 29.198-38.5v-363c0-21.263-13.072-38.5-29.198-38.5zm57.216 16.174c13.613-.319 26.504 9.854 27.075 28.043c.976 31.09-47.74 52.945-52.313 70.015c-4.997-18.649-51.413-37.573-52.45-70.015c-.994-31.155 37.404-37.907 52.452-11.846c6.262-10.846 15.923-15.978 25.236-16.195zm70.21 124.361q14.382 0 26.626 6.182q12.363 6.18 18.545 16.285q6.182 9.986 6.182 21.873q0 8.201-3.092 16.64q-3.09 8.441-9.033 15.811q-10.224 12.72-21.041 21.754l-31.383 26.39q-11.887 9.985-17.353 16.999q-5.47 7.013 53.966 7.013q8.915 0 12.72-4.636q3.803-4.636 8.677-25.676h8.084l-3.805 49.332H189.445v-6.42l34.592-39.346q28.885-31.383 34.71-39.466q8.32-11.531 12.124-22.229q3.805-10.817 3.805-19.613q0-14.622-8.084-22.944q-8.084-8.44-22.467-8.44q-16.166 0-26.389 7.727t-10.222 16.405q0 2.972 1.545 4.517q1.425 1.545 6.181 2.735q12.006 2.852 12.006 14.025q0 6.063-4.04 10.106q-4.043 3.922-10.343 3.921q-7.252 0-12.72-6.656q-5.468-6.776-5.467-17.594q0-12.124 6.18-21.99q6.3-9.985 18.902-16.285q12.6-6.42 27.101-6.42zM360.728 361.77c4.572 17.07 53.287 38.925 52.31 70.015c-.57 18.189-13.462 28.362-27.074 28.043v-.002c-9.314-.217-18.975-5.349-25.236-16.195c-15.048 26.061-53.446 19.31-52.452-11.846c1.037-32.442 47.454-51.366 52.452-70.016z"/>
</svg>
);Game Icons
More like it
Icons that share its tags, in the same style.
Search Game Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Game Icons icon from a prompt.
Get ProTags
Browse by tag
Card 2 Hearts is tagged gaming, casino, cards and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Card 2 Hearts or any of 4,123 Game Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Card 2 Hearts icon means and where it's used, then how to install, style, label and license it.
The card-2-hearts icon represents a two of hearts playing card, commonly used in card games and casinos. It is part of the Game Icons library, which provides a wide range of icons for various games and applications. The two of hearts is a specific card rank in a standard deck of 52 playing cards.
In digital platforms, the card-2-hearts icon can be used in online casinos, poker rooms, and card game applications, such as PokerStars, 888poker, or Blackjack. It can also be used in software and tools related to card games, like card game simulators or strategy guides.
From a UX perspective, the card-2-hearts icon communicates a sense of chance and probability, helping users understand the game's mechanics and navigate the interface. It can also be used to represent a specific card rank or suit in a game or application.
Card 2 Hearts is one of 4,123 icons in Game Icons, made by GameIcons and released under CC BY 3.0. It is drawn on a 512 × 512 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds Card2HeartsIcon to components/icons/game-icons-card-2-hearts.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed Card2HeartsIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Card 2 Hearts icon, or any of 4,123 Game Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 512 × 512 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Card 2 Hearts", so screen readers say what it does.
Yes. Card2HeartsIcon passes every SVG prop to the svg element, so <Card2HeartsIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 3.0 asks you to credit the author (GameIcons) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 3.0 asks you to credit the author where you use the icons, for example "Icons by GameIcons, CC BY 3.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are gaming, casino, cards, suit, gambling and playing. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Card 2 Hearts in another set.
4.9 out of 5 from 150+ developers
Install Card 2 Hearts from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro