Cube icon
uil:cube
The Cube icon (uil:cube) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons 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
- Unicons
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- User Interface
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.47 7.37v-.08l-.06-.15a1 1 0 0 0-.07-.09a1 1 0 0 0-.09-.12l-.09-.07l-.16-.08l-7.5-4.63a1 1 0 0 0-1.06 0L4 6.78l-.09.08l-.09.07a1 1 0 0 0-.09.12a1 1 0 0 0-.07.09l-.06.15v.08a1.2 1.2 0 0 0 0 .26v8.74a1 1 0 0 0 .47.85l7.5 4.63a.5.5 0 0 0 .15.06s.05 0 .08 0a.86.86 0 0 0 .52 0h.08a.5.5 0 0 0 .15-.06L20 17.22a1 1 0 0 0 .47-.85V7.63a1.2 1.2 0 0 0 0-.26M11 19.21l-5.5-3.4V9.43l5.5 3.39Zm1-8.12L6.4 7.63L12 4.18l5.6 3.45Zm6.5 4.72l-5.5 3.4v-6.39l5.5-3.39Z"/></svg>How to use the Cube icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:cube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:cube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:cube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--cube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:cube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:cube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/cube.svg" alt="Cube icon" width="24" height="24">Cube icon in other icon sets
Cube icon FAQ
Is the Cube icon free for commercial use?
Yes. Unicons 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="uil: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/uil/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.