gentleface

Gentleface › Shapes › cuboid

cuboid icon

Cuboid: cuboid, rectangular prism. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

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
// 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: see /icons/cuboid.md
Svelte
Svelte: see /icons/cuboid.md
HTML img
HTML img: see /icons/cuboid.md
CSS
CSS: see /icons/cuboid.md
Data URL
Data URL: see /icons/cuboid.md
Sprite
Sprite: see /icons/cuboid.md
SwiftUI
SwiftUI: see /icons/cuboid.md
Compose
Compose: see /icons/cuboid.md
Android XML
Android XML: see /icons/cuboid.md
Flutter
Flutter: see /icons/cuboid.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 { CuboidIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
cuboid, rectangular prism
Tags
cuboid, rectangular prism, box, 3d, shape, solid, isometric, brick, geometry
Category
Shapes
Component name
CuboidIcon
History
  • added, released in 0.6.0
Since
version 0.6.0

More shapes icons

For agents

Metadata: /icons/cuboid.json · Markdown: /icons/cuboid.md · SVG: https://gentleface.com/svg/{style}/16/cuboid.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/cuboid.png