Cube icon
la:cube
The Cube icon (la:cube) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Objects
- Tags
- cube solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="m16 4.406l-.406.188l-10 4.5l-.594.25V22.03l.5.282l10 5.562l.5.281l.5-.281l10-5.563l.5-.28V9.343l-.594-.25l-10-4.5zm0 2.188l7.688 3.437L16 13.875l-7.688-3.844zm-9 5.031l8 4v9.656l-8-4.437zm18 0v9.219l-8 4.437v-9.656z"/></svg>How to use the Cube icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:cube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:cube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:cube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--cube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:cube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:cube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/cube.svg" alt="Cube icon" width="24" height="24">Related icons in Line Awesome
Cube icon in other icon sets
Cube icon FAQ
Is the Cube icon free for commercial use?
Yes. Line Awesome icons are released under the Apache 2.0 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="la: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/la/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.