Diamond icon
memory:diamond
The Diamond icon (memory:diamond) is a free SVG icon from the Memory Icons set by Pictogrammers. It is drawn on a 22 × 22 grid. Memory Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Memory Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 22 × 22
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="currentColor" d="M6 2h10v1h1v1h1v1h1v1h1v6h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-2v-1H9v-1H8v-1H7v-1H6v-1H5v-1H4v-1H3v-1H2V6h1V5h1V4h1V3h1zm9 3V4h-1v2h1v1h2V6h-1V5zm-3 1V4h-2v2H9v1h4V6zM8 6V4H7v1H6v1H5v1h2V6zm-4 5h1v1h1v1h1v1h1v-2H7V9H4zm6 1v4h2v-4h1V9H9v3zm4 0v2h1v-1h1v-1h1v-1h1V9h-3v3z"/></svg>How to use the Diamond icon
React
import { Icon } from "@iconify/react";
<Icon icon="memory:diamond" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="memory:diamond" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="memory:diamond" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[memory--diamond]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/memory -->
<div class="i-memory:diamond"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="memory:diamond"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/memory/diamond.svg" alt="Diamond icon" width="24" height="24">Diamond icon in other icon sets
Diamond icon FAQ
Is the Diamond icon free for commercial use?
Yes. Memory Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Diamond icon in React?
Install @iconify/react and render <Icon icon="memory:diamond" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Diamond icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/memory/diamond.svg" alt="Diamond icon">, or paste the SVG code inline to style it with CSS.