# cuboid icon

Cuboid. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/cuboid

- Category: Shapes
- Use it for: cuboid, rectangular prism
- Tags: cuboid, rectangular prism, box, 3d, shape, solid, isometric, brick, geometry
- Component name: CuboidIcon
- Added: 2026-11-07
- Since: version 0.6.0
- npm: `import { CuboidIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/cuboid.svg · PNG https://gentleface.com/png/line-round/16/cuboid.png · https://gentleface.com/png/line-round/32/cuboid.png · https://gentleface.com/png/line-round/48/cuboid.png
- line-soft: https://gentleface.com/svg/line-soft/16/cuboid.svg · PNG https://gentleface.com/png/line-soft/16/cuboid.png · https://gentleface.com/png/line-soft/32/cuboid.png · https://gentleface.com/png/line-soft/48/cuboid.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/cuboid.svg · PNG https://gentleface.com/png/line-sharp/16/cuboid.png · https://gentleface.com/png/line-sharp/32/cuboid.png · https://gentleface.com/png/line-sharp/48/cuboid.png
- solid-round: https://gentleface.com/svg/solid-round/16/cuboid.svg · PNG https://gentleface.com/png/solid-round/16/cuboid.png · https://gentleface.com/png/solid-round/32/cuboid.png · https://gentleface.com/png/solid-round/48/cuboid.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/cuboid.svg · PNG https://gentleface.com/png/solid-soft/16/cuboid.png · https://gentleface.com/png/solid-soft/32/cuboid.png · https://gentleface.com/png/solid-soft/48/cuboid.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/cuboid.svg · PNG https://gentleface.com/png/solid-sharp/16/cuboid.png · https://gentleface.com/png/solid-sharp/32/cuboid.png · https://gentleface.com/png/solid-sharp/48/cuboid.png

The SVG of every style: https://gentleface.com/icons/cuboid.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z"/></svg>
```

### React

```tsx
// Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid
import type { SVGProps } from 'react';

export function CuboidIcon(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="M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid -->
<script>
  let props = $props();
</script>

<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="M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/cuboid.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid. Takes the text color. */
.icon-cuboid {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#cuboid"/></svg>
```

### SwiftUI

```swift
// Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid
import SwiftUI

struct CuboidIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 14.856, y: 3.144))
        p.addCurve(to: CGPoint(x: 15, y: 3.5), control1: CGPoint(x: 14.952, y: 3.241), control2: CGPoint(x: 15, y: 3.359))
        p.addLine(to: CGPoint(x: 15, y: 8.5))
        p.addCurve(to: CGPoint(x: 14.778, y: 9.615), control1: CGPoint(x: 15, y: 8.886), control2: CGPoint(x: 14.926, y: 9.258))
        p.addCurve(to: CGPoint(x: 14.146, y: 10.561), control1: CGPoint(x: 14.63, y: 9.972), control2: CGPoint(x: 14.42, y: 10.287))
        p.addLine(to: CGPoint(x: 11.561, y: 13.146))
        p.addCurve(to: CGPoint(x: 10.615, y: 13.778), control1: CGPoint(x: 11.287, y: 13.42), control2: CGPoint(x: 10.972, y: 13.63))
        p.addCurve(to: CGPoint(x: 9.5, y: 14), control1: CGPoint(x: 10.258, y: 13.926), control2: CGPoint(x: 9.886, y: 14))
        p.addLine(to: CGPoint(x: 1.5, y: 14))
        p.addCurve(to: CGPoint(x: 1.144, y: 13.856), control1: CGPoint(x: 1.359, y: 14), control2: CGPoint(x: 1.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 1, y: 13.5), control1: CGPoint(x: 1.048, y: 13.759), control2: CGPoint(x: 1, y: 13.641))
        p.addLine(to: CGPoint(x: 1, y: 8.5))
        p.addCurve(to: CGPoint(x: 1.222, y: 7.385), control1: CGPoint(x: 1, y: 8.114), control2: CGPoint(x: 1.074, y: 7.742))
        p.addCurve(to: CGPoint(x: 1.854, y: 6.439), control1: CGPoint(x: 1.37, y: 7.028), control2: CGPoint(x: 1.58, y: 6.713))
        p.addLine(to: CGPoint(x: 4.439, y: 3.854))
        p.addCurve(to: CGPoint(x: 5.385, y: 3.222), control1: CGPoint(x: 4.713, y: 3.58), control2: CGPoint(x: 5.028, y: 3.37))
        p.addCurve(to: CGPoint(x: 6.5, y: 3), control1: CGPoint(x: 5.742, y: 3.074), control2: CGPoint(x: 6.114, y: 3))
        p.addLine(to: CGPoint(x: 14.5, y: 3))
        p.addCurve(to: CGPoint(x: 14.856, y: 3.144), control1: CGPoint(x: 14.641, y: 3), control2: CGPoint(x: 14.759, y: 3.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.293, y: 4))
        p.addLine(to: CGPoint(x: 6.5, y: 4))
        p.addCurve(to: CGPoint(x: 5.827, y: 4.122), control1: CGPoint(x: 6.268, y: 4), control2: CGPoint(x: 6.043, y: 4.041))
        p.addCurve(to: CGPoint(x: 6, y: 4.5), control1: CGPoint(x: 5.942, y: 4.222), control2: CGPoint(x: 6, y: 4.348))
        p.addLine(to: CGPoint(x: 6, y: 5.5))
        p.addCurve(to: CGPoint(x: 5.856, y: 5.856), control1: CGPoint(x: 6, y: 5.641), control2: CGPoint(x: 5.952, y: 5.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 6), control1: CGPoint(x: 5.759, y: 5.952), control2: CGPoint(x: 5.641, y: 6))
        p.addCurve(to: CGPoint(x: 5.144, y: 5.856), control1: CGPoint(x: 5.359, y: 6), control2: CGPoint(x: 5.241, y: 5.952))
        p.addCurve(to: CGPoint(x: 5, y: 5.5), control1: CGPoint(x: 5.048, y: 5.759), control2: CGPoint(x: 5, y: 5.641))
        p.addLine(to: CGPoint(x: 5, y: 4.707))
        p.addLine(to: CGPoint(x: 2.707, y: 7))
        p.addLine(to: CGPoint(x: 9.5, y: 7))
        p.addCurve(to: CGPoint(x: 10.233, y: 6.854), control1: CGPoint(x: 9.754, y: 7), control2: CGPoint(x: 9.998, y: 6.951))
        p.addCurve(to: CGPoint(x: 10.854, y: 6.439), control1: CGPoint(x: 10.467, y: 6.757), control2: CGPoint(x: 10.674, y: 6.619))
        p.addLine(to: CGPoint(x: 13.293, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.439, y: 9.854))
        p.addCurve(to: CGPoint(x: 13.854, y: 9.233), control1: CGPoint(x: 13.619, y: 9.674), control2: CGPoint(x: 13.757, y: 9.467))
        p.addCurve(to: CGPoint(x: 14, y: 8.5), control1: CGPoint(x: 13.951, y: 8.998), control2: CGPoint(x: 14, y: 8.754))
        p.addLine(to: CGPoint(x: 14, y: 4.707))
        p.addLine(to: CGPoint(x: 11.561, y: 7.146))
        p.addCurve(to: CGPoint(x: 11, y: 7.585), control1: CGPoint(x: 11.39, y: 7.317), control2: CGPoint(x: 11.203, y: 7.463))
        p.addLine(to: CGPoint(x: 11, y: 12.293))
        p.addLine(to: CGPoint(x: 13.439, y: 9.854))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2, y: 8.5))
        p.addLine(to: CGPoint(x: 2, y: 12.5))
        p.addCurve(to: CGPoint(x: 2.146, y: 12.146), control1: CGPoint(x: 2, y: 12.362), control2: CGPoint(x: 2.049, y: 12.244))
        p.addLine(to: CGPoint(x: 3.146, y: 11.146))
        p.addCurve(to: CGPoint(x: 3.5, y: 11), control1: CGPoint(x: 3.244, y: 11.049), control2: CGPoint(x: 3.362, y: 11))
        p.addCurve(to: CGPoint(x: 3.854, y: 11.146), control1: CGPoint(x: 3.638, y: 11), control2: CGPoint(x: 3.756, y: 11.049))
        p.addCurve(to: CGPoint(x: 4.003, y: 11.5), control1: CGPoint(x: 3.953, y: 11.246), control2: CGPoint(x: 4.003, y: 11.364))
        p.addCurve(to: CGPoint(x: 3.854, y: 11.854), control1: CGPoint(x: 4.003, y: 11.636), control2: CGPoint(x: 3.953, y: 11.754))
        p.addLine(to: CGPoint(x: 2.854, y: 12.854))
        p.addCurve(to: CGPoint(x: 2.5, y: 13), control1: CGPoint(x: 2.756, y: 12.951), control2: CGPoint(x: 2.638, y: 13))
        p.addLine(to: CGPoint(x: 9.5, y: 13))
        p.addCurve(to: CGPoint(x: 10, y: 12.934), control1: CGPoint(x: 9.671, y: 13), control2: CGPoint(x: 9.838, y: 12.978))
        p.addLine(to: CGPoint(x: 10, y: 7.957))
        p.addCurve(to: CGPoint(x: 9.5, y: 8), control1: CGPoint(x: 9.836, y: 7.986), control2: CGPoint(x: 9.669, y: 8))
        p.addLine(to: CGPoint(x: 2.066, y: 8))
        p.addCurve(to: CGPoint(x: 2, y: 8.5), control1: CGPoint(x: 2.022, y: 8.162), control2: CGPoint(x: 2, y: 8.329))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2, y: 12.5))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addLine(to: CGPoint(x: 2.5, y: 13))
        p.addCurve(to: CGPoint(x: 2.146, y: 12.854), control1: CGPoint(x: 2.362, y: 13), control2: CGPoint(x: 2.244, y: 12.951))
        p.addCurve(to: CGPoint(x: 2, y: 12.5), control1: CGPoint(x: 2.049, y: 12.756), control2: CGPoint(x: 2, y: 12.638))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.5, y: 9))
        p.addCurve(to: CGPoint(x: 6.856, y: 9.144), control1: CGPoint(x: 6.641, y: 9), control2: CGPoint(x: 6.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 7, y: 9.5), control1: CGPoint(x: 6.952, y: 9.241), control2: CGPoint(x: 7, y: 9.359))
        p.addCurve(to: CGPoint(x: 6.856, y: 9.856), control1: CGPoint(x: 7, y: 9.641), control2: CGPoint(x: 6.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 6.5, y: 10), control1: CGPoint(x: 6.759, y: 9.952), control2: CGPoint(x: 6.641, y: 10))
        p.addLine(to: CGPoint(x: 5.75, y: 10))
        p.addCurve(to: CGPoint(x: 5.427, y: 9.927), control1: CGPoint(x: 5.637, y: 10), control2: CGPoint(x: 5.529, y: 9.976))
        p.addCurve(to: CGPoint(x: 5.168, y: 9.643), control1: CGPoint(x: 5.3, y: 9.866), control2: CGPoint(x: 5.213, y: 9.772))
        p.addCurve(to: CGPoint(x: 5.191, y: 9.26), control1: CGPoint(x: 5.123, y: 9.515), control2: CGPoint(x: 5.13, y: 9.387))
        p.addCurve(to: CGPoint(x: 5.476, y: 9.004), control1: CGPoint(x: 5.251, y: 9.136), control2: CGPoint(x: 5.345, y: 9.05))
        p.addCurve(to: CGPoint(x: 5.796, y: 9), control1: CGPoint(x: 5.582, y: 8.967), control2: CGPoint(x: 5.689, y: 8.965))
        p.addLine(to: CGPoint(x: 6.5, y: 9))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// CuboidIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val CuboidIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "cuboid", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(CuboidIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_cuboid.xml · Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M14.856 3.144C14.952 3.241 15 3.359 15 3.5L15 8.5C15 8.886 14.926 9.258 14.778 9.615C14.63 9.972 14.42 10.287 14.146 10.561L11.561 13.146C11.287 13.42 10.972 13.63 10.615 13.778C10.258 13.926 9.886 14 9.5 14L1.5 14C1.359 14 1.241 13.952 1.144 13.856C1.048 13.759 1 13.641 1 13.5L1 8.5C1 8.114 1.074 7.742 1.222 7.385C1.37 7.028 1.58 6.713 1.854 6.439L4.439 3.854C4.713 3.58 5.028 3.37 5.385 3.222C5.742 3.074 6.114 3 6.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM13.293 4L6.5 4C6.268 4 6.043 4.041 5.827 4.122C5.942 4.222 6 4.348 6 4.5L6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6C5.359 6 5.241 5.952 5.144 5.856C5.048 5.759 5 5.641 5 5.5L5 4.707L2.707 7L9.5 7C9.754 7 9.998 6.951 10.233 6.854C10.467 6.757 10.674 6.619 10.854 6.439L13.293 4ZM13.439 9.854C13.619 9.674 13.757 9.467 13.854 9.233C13.951 8.998 14 8.754 14 8.5L14 4.707L11.561 7.146C11.39 7.317 11.203 7.463 11 7.585L11 12.293L13.439 9.854ZM2 8.5L2 12.5C2 12.362 2.049 12.244 2.146 12.146L3.146 11.146C3.244 11.049 3.362 11 3.5 11C3.638 11 3.756 11.049 3.854 11.146C3.953 11.246 4.003 11.364 4.003 11.5C4.003 11.636 3.953 11.754 3.854 11.854L2.854 12.854C2.756 12.951 2.638 13 2.5 13L9.5 13C9.671 13 9.838 12.978 10 12.934L10 7.957C9.836 7.986 9.669 8 9.5 8L2.066 8C2.022 8.162 2 8.329 2 8.5ZM2 12.5L2 13L2.5 13C2.362 13 2.244 12.951 2.146 12.854C2.049 12.756 2 12.638 2 12.5ZM6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5C7 9.641 6.952 9.759 6.856 9.856C6.759 9.952 6.641 10 6.5 10L5.75 10C5.637 10 5.529 9.976 5.427 9.927C5.3 9.866 5.213 9.772 5.168 9.643C5.123 9.515 5.13 9.387 5.191 9.26C5.251 9.136 5.345 9.05 5.476 9.004C5.582 8.967 5.689 8.965 5.796 9L6.5 9Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "cuboid" (line-round), MIT. https://gentleface.com/icons/cuboid
import 'package:flutter/widgets.dart';

class CuboidIcon extends StatelessWidget {
  const CuboidIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _CuboidIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _CuboidIconPainter extends CustomPainter {
  _CuboidIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(14.856, 3.144)
      ..cubicTo(14.952, 3.241, 15, 3.359, 15, 3.5)
      ..lineTo(15, 8.5)
      ..cubicTo(15, 8.886, 14.926, 9.258, 14.778, 9.615)
      ..cubicTo(14.63, 9.972, 14.42, 10.287, 14.146, 10.561)
      ..lineTo(11.561, 13.146)
      ..cubicTo(11.287, 13.42, 10.972, 13.63, 10.615, 13.778)
      ..cubicTo(10.258, 13.926, 9.886, 14, 9.5, 14)
      ..lineTo(1.5, 14)
      ..cubicTo(1.359, 14, 1.241, 13.952, 1.144, 13.856)
      ..cubicTo(1.048, 13.759, 1, 13.641, 1, 13.5)
      ..lineTo(1, 8.5)
      ..cubicTo(1, 8.114, 1.074, 7.742, 1.222, 7.385)
      ..cubicTo(1.37, 7.028, 1.58, 6.713, 1.854, 6.439)
      ..lineTo(4.439, 3.854)
      ..cubicTo(4.713, 3.58, 5.028, 3.37, 5.385, 3.222)
      ..cubicTo(5.742, 3.074, 6.114, 3, 6.5, 3)
      ..lineTo(14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..close()
      ..moveTo(13.293, 4)
      ..lineTo(6.5, 4)
      ..cubicTo(6.268, 4, 6.043, 4.041, 5.827, 4.122)
      ..cubicTo(5.942, 4.222, 6, 4.348, 6, 4.5)
      ..lineTo(6, 5.5)
      ..cubicTo(6, 5.641, 5.952, 5.759, 5.856, 5.856)
      ..cubicTo(5.759, 5.952, 5.641, 6, 5.5, 6)
      ..cubicTo(5.359, 6, 5.241, 5.952, 5.144, 5.856)
      ..cubicTo(5.048, 5.759, 5, 5.641, 5, 5.5)
      ..lineTo(5, 4.707)
      ..lineTo(2.707, 7)
      ..lineTo(9.5, 7)
      ..cubicTo(9.754, 7, 9.998, 6.951, 10.233, 6.854)
      ..cubicTo(10.467, 6.757, 10.674, 6.619, 10.854, 6.439)
      ..lineTo(13.293, 4)
      ..close()
      ..moveTo(13.439, 9.854)
      ..cubicTo(13.619, 9.674, 13.757, 9.467, 13.854, 9.233)
      ..cubicTo(13.951, 8.998, 14, 8.754, 14, 8.5)
      ..lineTo(14, 4.707)
      ..lineTo(11.561, 7.146)
      ..cubicTo(11.39, 7.317, 11.203, 7.463, 11, 7.585)
      ..lineTo(11, 12.293)
      ..lineTo(13.439, 9.854)
      ..close()
      ..moveTo(2, 8.5)
      ..lineTo(2, 12.5)
      ..cubicTo(2, 12.362, 2.049, 12.244, 2.146, 12.146)
      ..lineTo(3.146, 11.146)
      ..cubicTo(3.244, 11.049, 3.362, 11, 3.5, 11)
      ..cubicTo(3.638, 11, 3.756, 11.049, 3.854, 11.146)
      ..cubicTo(3.953, 11.246, 4.003, 11.364, 4.003, 11.5)
      ..cubicTo(4.003, 11.636, 3.953, 11.754, 3.854, 11.854)
      ..lineTo(2.854, 12.854)
      ..cubicTo(2.756, 12.951, 2.638, 13, 2.5, 13)
      ..lineTo(9.5, 13)
      ..cubicTo(9.671, 13, 9.838, 12.978, 10, 12.934)
      ..lineTo(10, 7.957)
      ..cubicTo(9.836, 7.986, 9.669, 8, 9.5, 8)
      ..lineTo(2.066, 8)
      ..cubicTo(2.022, 8.162, 2, 8.329, 2, 8.5)
      ..close()
      ..moveTo(2, 12.5)
      ..lineTo(2, 13)
      ..lineTo(2.5, 13)
      ..cubicTo(2.362, 13, 2.244, 12.951, 2.146, 12.854)
      ..cubicTo(2.049, 12.756, 2, 12.638, 2, 12.5)
      ..close()
      ..moveTo(6.5, 9)
      ..cubicTo(6.641, 9, 6.759, 9.048, 6.856, 9.144)
      ..cubicTo(6.952, 9.241, 7, 9.359, 7, 9.5)
      ..cubicTo(7, 9.641, 6.952, 9.759, 6.856, 9.856)
      ..cubicTo(6.759, 9.952, 6.641, 10, 6.5, 10)
      ..lineTo(5.75, 10)
      ..cubicTo(5.637, 10, 5.529, 9.976, 5.427, 9.927)
      ..cubicTo(5.3, 9.866, 5.213, 9.772, 5.168, 9.643)
      ..cubicTo(5.123, 9.515, 5.13, 9.387, 5.191, 9.26)
      ..cubicTo(5.251, 9.136, 5.345, 9.05, 5.476, 9.004)
      ..cubicTo(5.582, 8.967, 5.689, 8.965, 5.796, 9)
      ..lineTo(6.5, 9)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_CuboidIconPainter old) => old.color != color;
}
```
