Glass Heart
The glass-heart icon represents a symbol of love and affection, often associated with emotions and relationships.
Exports at 24 × 24 px
Code
Glass Heart in your framework
In any framework. Customize it above, and the code follows.
export const GlassHeartIcon = (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="M371.28 18.906c-40.78.092-82.526 21.026-110.624 65.813c-35.57-51.667-93.288-71.73-143.5-61.47c-54.427 11.12-99.783 58.946-97.47 134.688c2.17 70.978 43.028 120.858 91.25 168.53c48.225 47.674 104.27 94.2 141.97 159.5L261 500l8.094-14.03c37.55-65.042 95.404-109.375 144.625-156.064c49.22-46.69 90.167-97.202 87.905-172.53C499.49 86.238 455.06 36.64 401.875 22.81c-9.972-2.593-20.252-3.93-30.594-3.906zm-.06 18.532c8.754.06 17.462 1.233 25.936 3.437c45.197 11.753 83.9 53.345 85.813 117.063c2.054 68.423-33.94 112.727-82.095 158.406c-44.992 42.678-100.275 85.296-139.844 147c-39.266-61.85-92.684-106.41-136.936-150.156c-47.363-46.823-83.76-91.68-85.72-155.813C36.29 89.075 74.47 51.05 120.907 41.562s101.338 10.72 131.938 65.844l8.5 15.375l8-15.655C294.42 57.898 333.28 37.17 371.22 37.437zm-12.41 20.905a51 51 0 0 0-4.78.156c-6.066.49-10.737 2.085-13.782 4.156s-4.678 4.384-5.5 8c-1.644 7.233 2.136 19.413 12.188 32.03c10.05 12.62 25.672 25.346 43.937 34.44c18.265 9.092 35.618 12.667 47.75 11.686c6.066-.49 10.705-2.085 13.75-4.156s4.71-4.384 5.53-8c1.645-7.232-2.166-19.38-12.217-32s-25.642-25.345-43.907-34.437c-15.98-7.957-31.27-11.718-42.967-11.876zm-210 .03a40 40 0 0 0-3.75.126c-4.736.38-8.26 1.594-10.437 3.063c-2.176 1.468-3.208 2.934-3.78 5.437c-1.148 5.006 1.59 14.41 9.593 24.375c8 9.964 20.55 20.132 35.218 27.375c14.667 7.243 28.56 10.04 38.03 9.28c4.738-.378 8.263-1.624 10.44-3.093c2.175-1.468 3.207-2.934 3.78-5.437c1.147-5.006-1.592-14.41-9.594-24.375c-8-9.964-20.55-20.1-35.218-27.344c-12.834-6.336-25.076-9.28-34.28-9.405zm114.313 130c-54.47 0-103.808 4.458-138.938 11.5c-17.564 3.523-31.616 7.76-40.5 11.97c-4.44 2.105-7.545 4.263-9.062 5.75c-.73.715-1.024 1.135-1.156 1.344c.13.215.424.658 1.155 1.375c1.517 1.486 4.62 3.613 9.063 5.718c8.883 4.212 22.935 8.448 40.5 11.97c35.13 7.043 84.466 11.53 138.937 11.53c54.47 0 103.808-4.487 138.938-11.53c17.564-3.522 31.616-7.758 40.5-11.97c4.44-2.104 7.545-4.23 9.062-5.718c.73-.716 1.024-1.16 1.156-1.375c-.13-.208-.425-.628-1.155-1.343c-1.517-1.487-4.62-3.645-9.063-5.75c-8.883-4.21-22.935-8.447-40.5-11.97c-35.13-7.042-84.466-11.5-138.937-11.5zM452.78 218.94c.144.225.095.203.095 0s.048-.232-.094 0zm-379.31 0c-.143-.232-.095-.204-.095 0s-.05.225.094 0zm364.592 29c-9.2 3.16-20.002 5.93-32.343 8.406c-36.928 7.403-87.112 11.875-142.595 11.875s-105.7-4.473-142.625-11.876c-11.487-2.303-21.663-4.86-30.438-7.75c43.797 57.35 119.452 106.2 170.688 184.937c28.976-43.9 66.72-77.32 101.78-108.374c29.198-25.858 56.307-50.194 75.533-77.22z"/>
</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
Glass Heart is tagged icon, symbol, game and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Game Icons MCP, with Pro
Ask for Glass Heart 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 Glass Heart icon means and where it's used, then how to install, style, label and license it.
The glass-heart icon represents a symbol of love and affection, often associated with emotions and relationships. This symbol is commonly used in games and interactive stories to signify romance or emotional connections.
In game development, the glass-heart icon might be used in games that involve social interactions, relationships, or emotional storytelling. For example, in a role-playing game, this icon could signal a character's emotional state or relationship status.
From a UX perspective, the glass-heart icon communicates warmth and empathy, making it an effective symbol for engaging users in applications that involve emotional connections.
Glass Heart 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 GlassHeartIcon to components/icons/game-icons-glass-heart.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 GlassHeartIcon 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 Glass Heart 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="Glass Heart", so screen readers say what it does.
Yes. GlassHeartIcon passes every SVG prop to the svg element, so <GlassHeartIcon 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 icon, symbol, game, love, thematic and heart. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Glass Heart in another set.
4.9 out of 5 from 150+ developers
Install Glass Heart from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro