- Category
- general
- Styles
- Outline
- Component
- IconCube
- License
- MIT · Paweł Kuna
- Files
-
outline/cube.svg
Cube icon
Download the Cube icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.
- 3d
- box
- shape
- geometry
- block
- package
- object
- model
Size
Stroke
Color
Code
Copy it the way you use it
cube.svg
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718" />
<path d="M12 22v-10" />
<path d="M12 12l8.73 -5.04" />
<path d="M3.27 6.96l8.73 5.04" />
</svg> Use the Cube icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconCube } from '@tabler/icons-react';
<IconCube size={24} stroke={2} />Read the React guideVue example
import { IconCube } from '@tabler/icons-vue';
<IconCube :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconCube } from '@tabler/icons-svelte-runes';
<IconCube size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related