ICONYZ
English
Cube icon from Huge Icons

Cube icon

hugeicons:cube

The Cube icon (hugeicons:cube) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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.

Icon set
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.793 21.207c.293.293.764.293 1.707.293h10c.943 0 1.414 0 1.707-.293m-13.414 0C2.5 20.914 2.5 20.443 2.5 19.5v-10c0-.943 0-1.414.293-1.707m0 13.414l6-6m7.414 6c.293-.293.293-.764.293-1.707v-10c0-.943 0-1.414-.293-1.707m0 13.414l5-5c.293-.293.293-.764.293-1.707v-10c0-.943 0-1.414-.293-1.707m-5 5C15.914 7.5 15.443 7.5 14.5 7.5h-10c-.943 0-1.414 0-1.707.293m13.414 0l5-5m-18.414 5l5-5C8.086 2.5 8.557 2.5 9.5 2.5h10c.943 0 1.414 0 1.707.293M8.793 15.207c.293.293.764.293 1.707.293H14m-5.207-.293C8.5 14.914 8.5 14.443 8.5 13.5v-3"/></svg>

How to use the Cube icon

React

import { Icon } from "@iconify/react";

<Icon icon="hugeicons:cube" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="hugeicons:cube" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="hugeicons:cube" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--cube]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:cube"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="hugeicons:cube"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/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. Huge Icons are released under the MIT 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="hugeicons: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/hugeicons/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.

Browse all Huge Icons →