Rubiks Cube icon
hugeicons:rubiks-cube
The Rubiks Cube icon (hugeicons:rubiks-cube) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge Icons are released under the MIT 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- rubikscube, rubik
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M8.643 3.085C10.295 2.362 11.121 2 12 2s1.705.362 3.357 1.085l1.705.747C19.687 4.982 21 5.556 21 6.5s-1.313 1.518-3.938 2.668l-1.705.747C13.705 10.638 12.879 11 12 11s-1.705-.362-3.357-1.085l-1.705-.747C4.313 8.018 3 7.444 3 6.5s1.313-1.518 3.938-2.668z"/><path d="M21 6.5v11c0 .944-1.313 1.518-3.938 2.668l-1.705.747C13.705 21.638 12.879 22 12 22s-1.705-.362-3.357-1.085l-1.705-.747C4.313 19.018 3 18.444 3 17.5v-11"/><path d="M21 12.5L12 17l-9-4m9 9V11"/><path d="M16.5 20V9L7 4"/><path d="M7.5 20V9L17 4"/></g></svg>How to use the Rubiks Cube icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:rubiks-cube" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:rubiks-cube" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:rubiks-cube" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--rubiks-cube]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:rubiks-cube"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:rubiks-cube"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/rubiks-cube.svg" alt="Rubiks Cube icon" width="24" height="24">Rubiks Cube icon FAQ
Is the Rubiks Cube icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Rubiks Cube icon in React?
Install @iconify/react and render <Icon icon="hugeicons:rubiks-cube" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rubiks Cube icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/rubiks-cube.svg" alt="Rubiks Cube icon">, or paste the SVG code inline to style it with CSS.