Cube icon
memory:cube
The Cube icon (memory:cube) 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="M12 21h-2v-1H8v-1H6v-1H4v-1H2V5h2V4h2V3h2V2h2V1h2v1h2v1h2v1h2v1h2v12h-2v1h-2v1h-2v1h-2m0-10V9h2V8h2V7h2V6h-2V5h-2V4h-2V3h-2v1H8v1H6v1H4v1h2v1h2v1h2v1m0 8v-7H8v-1H6V9H4v7h2v1h2v1m6 0v-1h2v-1h2V9h-2v1h-2v1h-2v7Z"/></svg>How to use the Cube icon
React
import { Icon } from "@iconify/react";
<Icon icon="memory:cube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="memory:cube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="memory:cube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[memory--cube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/memory -->
<div class="i-memory:cube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="memory:cube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/memory/cube.svg" alt="Cube icon" width="24" height="24">Related icons in Memory Icons
Cube icon in other icon sets
Cube icon FAQ
Is the Cube 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 Cube icon in React?
Install @iconify/react and render <Icon icon="memory:cube" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cube icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/memory/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.