Gentleface › Shapes › cube
cube icon
cubeCube: cube, 3d shape, 3d, 3d map. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed. Part of the free toolbar icon set.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.701 11.624C13.502 11.947 13.233 12.192 12.894 12.362L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L2.106 12.362C1.767 12.192 1.498 11.947 1.299 11.624C1.1 11.302 1 10.952 1 10.573L1 5.427C1 5.048 1.1 4.698 1.299 4.376C1.498 4.053 1.767 3.808 2.106 3.638L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L12.894 3.638C13.233 3.808 13.502 4.053 13.701 4.376C13.9 4.698 14 5.048 14 5.427L14 10.573C14 10.952 13.9 11.302 13.701 11.624ZM2.618 4.5L6.829 6.606C7.04 6.711 7.264 6.764 7.5 6.764C7.736 6.764 7.96 6.711 8.171 6.606L12.382 4.5L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L2.618 4.5ZM2.006 5.312C2.002 5.35 2 5.388 2 5.427L2 10.573C2 10.762 2.05 10.938 2.149 11.099C2.249 11.26 2.383 11.383 2.553 11.467L6.829 13.606C6.885 13.634 6.942 13.658 7 13.679L7 7.714C6.787 7.671 6.581 7.6 6.382 7.5L2.006 5.312ZM8.171 13.606L12.447 11.467C12.617 11.383 12.751 11.26 12.851 11.099C12.95 10.938 13 10.762 13 10.573L13 5.427C13 5.388 12.998 5.35 12.994 5.312L8.618 7.5C8.419 7.6 8.213 7.671 8 7.714L8 13.679C8.058 13.658 8.115 13.634 8.171 13.606Z"/></svg>
// Gentleface "cube" (line-round), MIT. https://gentleface.com/icons/cube
import type { SVGProps } from 'react';
export function CubeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M13.701 11.624C13.502 11.947 13.233 12.192 12.894 12.362L8.618 14.5C8.266 14.676 7.893 14.764 7.5 14.764C7.107 14.764 6.734 14.676 6.382 14.5L2.106 12.362C1.767 12.192 1.498 11.947 1.299 11.624C1.1 11.302 1 10.952 1 10.573L1 5.427C1 5.048 1.1 4.698 1.299 4.376C1.498 4.053 1.767 3.808 2.106 3.638L6.382 1.5C6.734 1.324 7.107 1.236 7.5 1.236C7.893 1.236 8.266 1.324 8.618 1.5L12.894 3.638C13.233 3.808 13.502 4.053 13.701 4.376C13.9 4.698 14 5.048 14 5.427L14 10.573C14 10.952 13.9 11.302 13.701 11.624ZM2.618 4.5L6.829 6.606C7.04 6.711 7.264 6.764 7.5 6.764C7.736 6.764 7.96 6.711 8.171 6.606L12.382 4.5L8.171 2.394C7.96 2.289 7.736 2.236 7.5 2.236C7.264 2.236 7.04 2.289 6.829 2.394L2.618 4.5ZM2.006 5.312C2.002 5.35 2 5.388 2 5.427L2 10.573C2 10.762 2.05 10.938 2.149 11.099C2.249 11.26 2.383 11.383 2.553 11.467L6.829 13.606C6.885 13.634 6.942 13.658 7 13.679L7 7.714C6.787 7.671 6.581 7.6 6.382 7.5L2.006 5.312ZM8.171 13.606L12.447 11.467C12.617 11.383 12.751 11.26 12.851 11.099C12.95 10.938 13 10.762 13 10.573L13 5.427C13 5.388 12.998 5.35 12.994 5.312L8.618 7.5C8.419 7.6 8.213 7.671 8 7.714L8 13.679C8.058 13.658 8.115 13.634 8.171 13.606Z" />
</svg>
);
}Vue: see /icons/cube.md
Svelte: see /icons/cube.md
HTML img: see /icons/cube.md
CSS: see /icons/cube.md
Data URL: see /icons/cube.md
Sprite: see /icons/cube.md
SwiftUI: see /icons/cube.md
Compose: see /icons/cube.md
Android XML: see /icons/cube.md
Flutter: see /icons/cube.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { CubeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- cube, 3d shape, 3d, 3d map, 3d view
- Alternatives
package: a package, a parcel or a product (package); motifs.yaml gives 3d-object to the box motif
- Also fits
- 3d model file: a 3D object or shape in a scene (3d-shape)
- augmented reality: a 3D shape or object (3d-shape)
- Not for
- package (use
package): a 3D shape, not a parcel
- package (use
- Tags
- cube, 3d, shape, solid, isometric, block, geometry
- Category
- Shapes
- Component name
CubeIcon- History
- added
- released in 0.1.0
- changed in 0.2.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 7
More shapes icons
blob burst circle circle-pile circles cone cuboid cylinder diamond dot ellipse frustum frustum-square hemisphere hemisphere-dome heptagon · all shapes icons
For agents
Metadata: /icons/cube.json · Markdown: /icons/cube.md · SVG: https://gentleface.com/svg/{style}/16/cube.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/cube.png