ICONYZ
English
Cubes icon from Font Awesome 4

Cubes icon

fa:cubes

The Cubes icon (fa:cubes) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 2176 × 1792 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
2176 × 1792
Tags
cube
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="2176" height="1792" viewBox="0 0 2176 1792"><path fill="currentColor" d="m640 1632l384-192v-314l-384 164zm-64-454l404-173l-404-173l-404 173zm1088 454l384-192v-314l-384 164zm-64-454l404-173l-404-173l-404 173zm-448-293l384-165V454l-384 164zm-64-379l441-189l-441-189l-441 189zm1088 518v416q0 36-19 67t-52 47l-448 224q-25 14-57 14t-57-14l-448-224q-4-2-7-4q-2 2-7 4l-448 224q-25 14-57 14t-57-14L71 1554q-33-16-52-47t-19-67v-416q0-38 21.5-70T78 906l434-186V320q0-38 21.5-70t56.5-48l448-192q23-10 50-10t50 10l448 192q35 16 56.5 48t21.5 70v400l434 186q36 16 57 48t21 70"/></svg>

How to use the Cubes icon

React

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

<Icon icon="fa:cubes" width="24" />

Vue

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

<template>
  <Icon icon="fa:cubes" width="24" />
</template>

Svelte

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

<Icon icon="fa:cubes" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa:cubes"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa/cubes.svg" alt="Cubes icon" width="24" height="24">

Cubes icon in other icon sets

Cubes icon FAQ

Is the Cubes icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Cubes icon in React?

Install @iconify/react and render <Icon icon="fa:cubes" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Cubes icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa/cubes.svg" alt="Cubes icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →