Cubes icon
fa-solid:cubes
The Cubes icon (fa-solid:cubes) 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
- Tags
- cube
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M488.6 250.2L392 214V105.5c0-15-9.3-28.4-23.4-33.7l-100-37.5c-8.1-3.1-17.1-3.1-25.3 0l-100 37.5c-14.1 5.3-23.4 18.7-23.4 33.7V214l-96.6 36.2C9.3 255.5 0 268.9 0 283.9V394c0 13.6 7.7 26.1 19.9 32.2l100 50c10.1 5.1 22.1 5.1 32.2 0l103.9-52l103.9 52c10.1 5.1 22.1 5.1 32.2 0l100-50c12.2-6.1 19.9-18.6 19.9-32.2V283.9c0-15-9.3-28.4-23.4-33.7M358 214.8l-85 31.9v-68.2l85-37zM154 104.1l102-38.2l102 38.2v.6l-102 41.4l-102-41.4zm84 291.1l-85 42.5v-79.1l85-38.8zm0-112l-102 41.4l-102-41.4v-.6l102-38.2l102 38.2zm240 112l-85 42.5v-79.1l85-38.8zm0-112l-102 41.4l-102-41.4v-.6l102-38.2l102 38.2z"/></svg>How to use the Cubes icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:cubes" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:cubes" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:cubes" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--cubes]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:cubes"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:cubes"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/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 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 Cubes icon in React?
Install @iconify/react and render <Icon icon="fa-solid: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-solid/cubes.svg" alt="Cubes icon">, or paste the SVG code inline to style it with CSS.