Octagon icon
memory:octagon
The Octagon icon (memory:octagon) 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
- Category
- Shape
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="currentColor" d="M2 6h1V5h1V4h1V3h1V2h1V1h8v1h1v1h1v1h1v1h1v1h1v1h1v8h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1H7v-1H6v-1H5v-1H4v-1H3v-1H2v-1H1V7h1zm13 11h1v-1h1v-1h1v-1h1V8h-1V7h-1V6h-1V5h-1V4h-1V3H8v1H7v1H6v1H5v1H4v1H3v6h1v1h1v1h1v1h1v1h1v1h6v-1h1z"/></svg>How to use the Octagon icon
React
import { Icon } from "@iconify/react";
<Icon icon="memory:octagon" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="memory:octagon" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="memory:octagon" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[memory--octagon]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/memory -->
<div class="i-memory:octagon"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="memory:octagon"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/memory/octagon.svg" alt="Octagon icon" width="24" height="24">Octagon icon in other icon sets
Octagon icon FAQ
Is the Octagon 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 Octagon icon in React?
Install @iconify/react and render <Icon icon="memory:octagon" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Octagon icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/memory/octagon.svg" alt="Octagon icon">, or paste the SVG code inline to style it with CSS.