ICONYZ
English
Cube icon from Pinhead Map Icons

Cube icon

pinhead:cube

The Cube icon (pinhead:cube) is a free SVG icon from the Pinhead Map Icons set by Quincy Morgan. It is drawn on a 15 × 15 grid. Pinhead Map Icons are released under the CC0 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
Pinhead Map Icons
Author
Quincy Morgan
License
CC0-1.0
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="m1 5l6 3v6.75l-6-3zm13 0v6.75l-6 3V8zM7.5.5L14 3.75L7.5 7L1 3.75z"/></svg>

How to use the Cube icon

React

import { Icon } from "@iconify/react";

<Icon icon="pinhead:cube" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="pinhead:cube" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="pinhead:cube" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pinhead--cube]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/pinhead -->
<div class="i-pinhead:cube"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="pinhead:cube"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pinhead/cube.svg" alt="Cube icon" width="24" height="24">

Cube icon in other icon sets

Cube icon FAQ

Is the Cube icon free for commercial use?

Yes. Pinhead Map Icons are released under the CC0 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="pinhead: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/pinhead/cube.svg" alt="Cube icon">, or paste the SVG code inline to style it with CSS.

Browse all Pinhead Map Icons →