Card Diamonds icon
gg:card-diamonds
The Card Diamonds icon (gg:card-diamonds) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M12 7.757L7.757 12L12 16.243L16.243 12z"/><path fill-rule="evenodd" d="M3 4a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm3-1h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1" clip-rule="evenodd"/></g></svg>How to use the Card Diamonds icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:card-diamonds" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:card-diamonds" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:card-diamonds" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--card-diamonds]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:card-diamonds"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:card-diamonds"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/card-diamonds.svg" alt="Card Diamonds icon" width="24" height="24">Related icons in css.gg
Card Diamonds icon FAQ
Is the Card Diamonds icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Card Diamonds icon in React?
Install @iconify/react and render <Icon icon="gg:card-diamonds" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Card Diamonds icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/card-diamonds.svg" alt="Card Diamonds icon">, or paste the SVG code inline to style it with CSS.