Cube icon
fa:cube
The Cube icon (fa:cube) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1664 × 1664 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
- 1664 × 1664
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1664" height="1664" viewBox="0 0 1664 1664"><path fill="currentColor" d="m896 1501l640-349V516L896 749zm-64-865l698-254l-698-254l-698 254zm832-252v768q0 35-18 65t-49 47l-704 384q-28 16-61 16t-61-16L67 1264q-31-17-49-47t-18-65V384q0-40 23-73t61-47L788 8q22-8 44-8t44 8l704 256q38 14 61 47t23 73"/></svg>How to use the Cube icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa:cube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa:cube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa:cube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--cube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:cube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa:cube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa/cube.svg" alt="Cube icon" width="24" height="24">Related icons in Font Awesome 4
Cube icon in other icon sets
Cube icon FAQ
Is the Cube 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 Cube icon in React?
Install @iconify/react and render <Icon icon="fa: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/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.