ICONYZ
English
Cube icon from Font Awesome 6 Solid

Cube icon

fa6-solid:cube

The Cube icon (fa6-solid:cube) is a free SVG icon from the Font Awesome 6 Solid set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 6 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 6 Solid
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M234.5 5.7c13.9-5 29.1-5 43.1 0l192 68.6c25.4 9.1 42.4 33.2 42.4 60.3v242.9c0 27-17 51.2-42.5 60.3l-192 68.6c-13.9 5-29.1 5-43.1 0l-192-68.6C17 428.6 0 404.5 0 377.4V134.6c0-27 17-51.2 42.5-60.3zM256 66L82.3 128L256 190l173.7-62zm32 368.6l160-57.1v-188l-160 57.1z"/></svg>

How to use the Cube icon

React

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

<Icon icon="fa6-solid:cube" width="24" />

Vue

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

<template>
  <Icon icon="fa6-solid:cube" width="24" />
</template>

Svelte

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

<Icon icon="fa6-solid:cube" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa6-solid:cube"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa6-solid/cube.svg" alt="Cube icon" width="24" height="24">

Related icons in Font Awesome 6 Solid

Cube icon in other icon sets

Cube icon FAQ

Is the Cube icon free for commercial use?

Yes. Font Awesome 6 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Cube icon in React?

Install @iconify/react and render <Icon icon="fa6-solid: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/fa6-solid/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 6 Solid icons →