ICONYZ
English
Cube icon from Font Awesome 5 Solid

Cube icon

fa-solid:cube

The Cube icon (fa-solid:cube) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 5 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 5 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="m239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3M256 68.4l192 72v1.1l-192 78l-192-78v-1.1zm32 356V275.5l160-65v133.9z"/></svg>

How to use the Cube icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Font Awesome 5 Solid

Cube icon in other icon sets

Cube icon FAQ

Is the Cube icon free for commercial use?

Yes. Font Awesome 5 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="fa-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/fa-solid/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 5 Solid icons →