# cube-pencil icon

Cube pencil. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/cube-pencil

- Category: Shapes
- Use it for: 3d modeling, cad, edit 3d model
- Example: Open the model in the 3D editor
- Built from: cube + pencil
- Tags: cube, 3d, shape, solid, isometric, block, geometry, pencil
- Family: cube, cube-arrow-down, cube-arrow-up, cube-off, cube-plus, cube-sparkle
- Component name: CubePencilIcon
- Added: 2026-11-06
- Since: version 0.4.0
- npm: `import { CubePencilIcon } from '@gentleface/react';` (@gentleface/react 0.6.0)
- Changed: 2026-11-07 (changed in 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/cube-pencil.svg · PNG https://gentleface.com/png/line-round/16/cube-pencil.png · https://gentleface.com/png/line-round/32/cube-pencil.png · https://gentleface.com/png/line-round/48/cube-pencil.png
- line-soft: https://gentleface.com/svg/line-soft/16/cube-pencil.svg · PNG https://gentleface.com/png/line-soft/16/cube-pencil.png · https://gentleface.com/png/line-soft/32/cube-pencil.png · https://gentleface.com/png/line-soft/48/cube-pencil.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/cube-pencil.svg · PNG https://gentleface.com/png/line-sharp/16/cube-pencil.png · https://gentleface.com/png/line-sharp/32/cube-pencil.png · https://gentleface.com/png/line-sharp/48/cube-pencil.png
- solid-round: https://gentleface.com/svg/solid-round/16/cube-pencil.svg · PNG https://gentleface.com/png/solid-round/16/cube-pencil.png · https://gentleface.com/png/solid-round/32/cube-pencil.png · https://gentleface.com/png/solid-round/48/cube-pencil.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/cube-pencil.svg · PNG https://gentleface.com/png/solid-soft/16/cube-pencil.png · https://gentleface.com/png/solid-soft/32/cube-pencil.png · https://gentleface.com/png/solid-soft/48/cube-pencil.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/cube-pencil.svg · PNG https://gentleface.com/png/solid-sharp/16/cube-pencil.png · https://gentleface.com/png/solid-sharp/32/cube-pencil.png · https://gentleface.com/png/solid-sharp/48/cube-pencil.png

The SVG of every style: https://gentleface.com/icons/cube-pencil.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="M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/></svg>
```

### React

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

export function CubePencilIcon(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="M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil -->
<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="M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil -->
<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="M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil. 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/cube-pencil.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil. Takes the text color. */
.icon-cube-pencil {
  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='M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%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='M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%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='M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil
     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#cube-pencil"/></svg>
```

### SwiftUI

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

struct CubePencilIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 1.106, y: 11.362))
        p.addCurve(to: CGPoint(x: 0.299, y: 10.624), control1: CGPoint(x: 0.767, y: 11.192), control2: CGPoint(x: 0.498, y: 10.947))
        p.addCurve(to: CGPoint(x: 0, y: 9.573), control1: CGPoint(x: 0.1, y: 10.302), control2: CGPoint(x: 0, y: 9.952))
        p.addLine(to: CGPoint(x: 0, y: 4.427))
        p.addCurve(to: CGPoint(x: 0.299, y: 3.376), control1: CGPoint(x: 0, y: 4.048), control2: CGPoint(x: 0.1, y: 3.698))
        p.addCurve(to: CGPoint(x: 1.106, y: 2.638), control1: CGPoint(x: 0.498, y: 3.053), control2: CGPoint(x: 0.767, y: 2.808))
        p.addLine(to: CGPoint(x: 5.382, y: 0.5))
        p.addCurve(to: CGPoint(x: 6.5, y: 0.236), control1: CGPoint(x: 5.734, y: 0.324), control2: CGPoint(x: 6.107, y: 0.236))
        p.addCurve(to: CGPoint(x: 7.618, y: 0.5), control1: CGPoint(x: 6.893, y: 0.236), control2: CGPoint(x: 7.266, y: 0.324))
        p.addLine(to: CGPoint(x: 11.894, y: 2.638))
        p.addCurve(to: CGPoint(x: 12.701, y: 3.376), control1: CGPoint(x: 12.233, y: 2.808), control2: CGPoint(x: 12.502, y: 3.053))
        p.addCurve(to: CGPoint(x: 13, y: 4.427), control1: CGPoint(x: 12.9, y: 3.698), control2: CGPoint(x: 13, y: 4.048))
        p.addLine(to: CGPoint(x: 13, y: 6.5))
        p.addCurve(to: CGPoint(x: 12.856, y: 6.856), control1: CGPoint(x: 13, y: 6.641), control2: CGPoint(x: 12.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 12.5, y: 7), control1: CGPoint(x: 12.759, y: 6.952), control2: CGPoint(x: 12.641, y: 7))
        p.addCurve(to: CGPoint(x: 12.144, y: 6.856), control1: CGPoint(x: 12.359, y: 7), control2: CGPoint(x: 12.241, y: 6.952))
        p.addCurve(to: CGPoint(x: 12, y: 6.5), control1: CGPoint(x: 12.048, y: 6.759), control2: CGPoint(x: 12, y: 6.641))
        p.addLine(to: CGPoint(x: 12, y: 4.427))
        p.addCurve(to: CGPoint(x: 11.994, y: 4.312), control1: CGPoint(x: 12, y: 4.388), control2: CGPoint(x: 11.998, y: 4.35))
        p.addLine(to: CGPoint(x: 7.618, y: 6.5))
        p.addCurve(to: CGPoint(x: 7, y: 6.714), control1: CGPoint(x: 7.419, y: 6.6), control2: CGPoint(x: 7.213, y: 6.671))
        p.addLine(to: CGPoint(x: 7, y: 12.678))
        p.addCurve(to: CGPoint(x: 7.074, y: 12.65), control1: CGPoint(x: 7.025, y: 12.669), control2: CGPoint(x: 7.049, y: 12.66))
        p.addCurve(to: CGPoint(x: 7.458, y: 12.647), control1: CGPoint(x: 7.204, y: 12.596), control2: CGPoint(x: 7.332, y: 12.595))
        p.addCurve(to: CGPoint(x: 7.715, y: 12.893), control1: CGPoint(x: 7.574, y: 12.696), control2: CGPoint(x: 7.66, y: 12.778))
        p.addLine(to: CGPoint(x: 7.264, y: 13.645))
        p.addCurve(to: CGPoint(x: 6.411, y: 13.762), control1: CGPoint(x: 6.989, y: 13.734), control2: CGPoint(x: 6.704, y: 13.773))
        p.addCurve(to: CGPoint(x: 5.382, y: 13.5), control1: CGPoint(x: 6.049, y: 13.749), control2: CGPoint(x: 5.706, y: 13.662))
        p.addLine(to: CGPoint(x: 1.106, y: 11.362))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.382, y: 3.5))
        p.addLine(to: CGPoint(x: 7.171, y: 1.394))
        p.addCurve(to: CGPoint(x: 6.5, y: 1.236), control1: CGPoint(x: 6.96, y: 1.289), control2: CGPoint(x: 6.736, y: 1.236))
        p.addCurve(to: CGPoint(x: 5.829, y: 1.394), control1: CGPoint(x: 6.264, y: 1.236), control2: CGPoint(x: 6.04, y: 1.289))
        p.addLine(to: CGPoint(x: 1.618, y: 3.5))
        p.addLine(to: CGPoint(x: 5.829, y: 5.606))
        p.addCurve(to: CGPoint(x: 6.5, y: 5.764), control1: CGPoint(x: 6.04, y: 5.711), control2: CGPoint(x: 6.264, y: 5.764))
        p.addCurve(to: CGPoint(x: 7.171, y: 5.606), control1: CGPoint(x: 6.736, y: 5.764), control2: CGPoint(x: 6.96, y: 5.711))
        p.addLine(to: CGPoint(x: 11.382, y: 3.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1, y: 9.573))
        p.addCurve(to: CGPoint(x: 1.149, y: 10.099), control1: CGPoint(x: 1, y: 9.762), control2: CGPoint(x: 1.05, y: 9.938))
        p.addCurve(to: CGPoint(x: 1.553, y: 10.467), control1: CGPoint(x: 1.249, y: 10.26), control2: CGPoint(x: 1.383, y: 10.383))
        p.addLine(to: CGPoint(x: 5.829, y: 12.606))
        p.addCurve(to: CGPoint(x: 6, y: 12.678), control1: CGPoint(x: 5.885, y: 12.634), control2: CGPoint(x: 5.942, y: 12.658))
        p.addLine(to: CGPoint(x: 6, y: 6.714))
        p.addCurve(to: CGPoint(x: 5.382, y: 6.5), control1: CGPoint(x: 5.787, y: 6.671), control2: CGPoint(x: 5.581, y: 6.6))
        p.addLine(to: CGPoint(x: 1.006, y: 4.312))
        p.addCurve(to: CGPoint(x: 1, y: 4.427), control1: CGPoint(x: 1.002, y: 4.35), control2: CGPoint(x: 1, y: 4.388))
        p.addLine(to: CGPoint(x: 1, y: 9.573))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14, y: 7.707))
        p.addCurve(to: CGPoint(x: 14.707, y: 8), control1: CGPoint(x: 14.276, y: 7.707), control2: CGPoint(x: 14.512, y: 7.805))
        p.addLine(to: CGPoint(x: 15, y: 8.293))
        p.addCurve(to: CGPoint(x: 15.293, y: 9), control1: CGPoint(x: 15.195, y: 8.488), control2: CGPoint(x: 15.293, y: 8.724))
        p.addCurve(to: CGPoint(x: 15, y: 9.707), control1: CGPoint(x: 15.293, y: 9.276), control2: CGPoint(x: 15.195, y: 9.512))
        p.addLine(to: CGPoint(x: 12.061, y: 12.646))
        p.addCurve(to: CGPoint(x: 10.4, y: 13.943), control1: CGPoint(x: 11.56, y: 13.147), control2: CGPoint(x: 11.007, y: 13.579))
        p.addLine(to: CGPoint(x: 8.757, y: 14.929))
        p.addCurve(to: CGPoint(x: 8.378, y: 14.988), control1: CGPoint(x: 8.636, y: 15.001), control2: CGPoint(x: 8.51, y: 15.021))
        p.addCurve(to: CGPoint(x: 8.071, y: 14.757), control1: CGPoint(x: 8.246, y: 14.955), control2: CGPoint(x: 8.144, y: 14.878))
        p.addCurve(to: CGPoint(x: 7.999, y: 14.5), control1: CGPoint(x: 8.023, y: 14.677), control2: CGPoint(x: 7.999, y: 14.592))
        p.addCurve(to: CGPoint(x: 8.071, y: 14.243), control1: CGPoint(x: 7.999, y: 14.408), control2: CGPoint(x: 8.023, y: 14.323))
        p.addLine(to: CGPoint(x: 9.057, y: 12.6))
        p.addCurve(to: CGPoint(x: 10.354, y: 10.939), control1: CGPoint(x: 9.421, y: 11.993), control2: CGPoint(x: 9.853, y: 11.44))
        p.addLine(to: CGPoint(x: 13.293, y: 8))
        p.addCurve(to: CGPoint(x: 14, y: 7.707), control1: CGPoint(x: 13.488, y: 7.805), control2: CGPoint(x: 13.724, y: 7.707))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil
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 CubePencilIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "cube-pencil", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_cube_pencil.xml · Gentleface "cube-pencil" (line-round), MIT. https://gentleface.com/icons/cube-pencil -->
<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="M1.106 11.362C0.767 11.192 0.498 10.947 0.299 10.624C0.1 10.302 0 9.952 0 9.573L0 4.427C0 4.048 0.1 3.698 0.299 3.376C0.498 3.053 0.767 2.808 1.106 2.638L5.382 0.5C5.734 0.324 6.107 0.236 6.5 0.236C6.893 0.236 7.266 0.324 7.618 0.5L11.894 2.638C12.233 2.808 12.502 3.053 12.701 3.376C12.9 3.698 13 4.048 13 4.427L13 6.5C13 6.641 12.952 6.759 12.856 6.856C12.759 6.952 12.641 7 12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5L12 4.427C12 4.388 11.998 4.35 11.994 4.312L7.618 6.5C7.419 6.6 7.213 6.671 7 6.714L7 12.678C7.025 12.669 7.049 12.66 7.074 12.65C7.204 12.596 7.332 12.595 7.458 12.647C7.574 12.696 7.66 12.778 7.715 12.893L7.264 13.645C6.989 13.734 6.704 13.773 6.411 13.762C6.049 13.749 5.706 13.662 5.382 13.5L1.106 11.362ZM11.382 3.5L7.171 1.394C6.96 1.289 6.736 1.236 6.5 1.236C6.264 1.236 6.04 1.289 5.829 1.394L1.618 3.5L5.829 5.606C6.04 5.711 6.264 5.764 6.5 5.764C6.736 5.764 6.96 5.711 7.171 5.606L11.382 3.5ZM1 9.573C1 9.762 1.05 9.938 1.149 10.099C1.249 10.26 1.383 10.383 1.553 10.467L5.829 12.606C5.885 12.634 5.942 12.658 6 12.678L6 6.714C5.787 6.671 5.581 6.6 5.382 6.5L1.006 4.312C1.002 4.35 1 4.388 1 4.427L1 9.573ZM14 7.707C14.276 7.707 14.512 7.805 14.707 8L15 8.293C15.195 8.488 15.293 8.724 15.293 9C15.293 9.276 15.195 9.512 15 9.707L12.061 12.646C11.56 13.147 11.007 13.579 10.4 13.943L8.757 14.929C8.636 15.001 8.51 15.021 8.378 14.988C8.246 14.955 8.144 14.878 8.071 14.757C8.023 14.677 7.999 14.592 7.999 14.5C7.999 14.408 8.023 14.323 8.071 14.243L9.057 12.6C9.421 11.993 9.853 11.44 10.354 10.939L13.293 8C13.488 7.805 13.724 7.707 14 7.707Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(1.106, 11.362)
      ..cubicTo(0.767, 11.192, 0.498, 10.947, 0.299, 10.624)
      ..cubicTo(0.1, 10.302, 0, 9.952, 0, 9.573)
      ..lineTo(0, 4.427)
      ..cubicTo(0, 4.048, 0.1, 3.698, 0.299, 3.376)
      ..cubicTo(0.498, 3.053, 0.767, 2.808, 1.106, 2.638)
      ..lineTo(5.382, 0.5)
      ..cubicTo(5.734, 0.324, 6.107, 0.236, 6.5, 0.236)
      ..cubicTo(6.893, 0.236, 7.266, 0.324, 7.618, 0.5)
      ..lineTo(11.894, 2.638)
      ..cubicTo(12.233, 2.808, 12.502, 3.053, 12.701, 3.376)
      ..cubicTo(12.9, 3.698, 13, 4.048, 13, 4.427)
      ..lineTo(13, 6.5)
      ..cubicTo(13, 6.641, 12.952, 6.759, 12.856, 6.856)
      ..cubicTo(12.759, 6.952, 12.641, 7, 12.5, 7)
      ..cubicTo(12.359, 7, 12.241, 6.952, 12.144, 6.856)
      ..cubicTo(12.048, 6.759, 12, 6.641, 12, 6.5)
      ..lineTo(12, 4.427)
      ..cubicTo(12, 4.388, 11.998, 4.35, 11.994, 4.312)
      ..lineTo(7.618, 6.5)
      ..cubicTo(7.419, 6.6, 7.213, 6.671, 7, 6.714)
      ..lineTo(7, 12.678)
      ..cubicTo(7.025, 12.669, 7.049, 12.66, 7.074, 12.65)
      ..cubicTo(7.204, 12.596, 7.332, 12.595, 7.458, 12.647)
      ..cubicTo(7.574, 12.696, 7.66, 12.778, 7.715, 12.893)
      ..lineTo(7.264, 13.645)
      ..cubicTo(6.989, 13.734, 6.704, 13.773, 6.411, 13.762)
      ..cubicTo(6.049, 13.749, 5.706, 13.662, 5.382, 13.5)
      ..lineTo(1.106, 11.362)
      ..close()
      ..moveTo(11.382, 3.5)
      ..lineTo(7.171, 1.394)
      ..cubicTo(6.96, 1.289, 6.736, 1.236, 6.5, 1.236)
      ..cubicTo(6.264, 1.236, 6.04, 1.289, 5.829, 1.394)
      ..lineTo(1.618, 3.5)
      ..lineTo(5.829, 5.606)
      ..cubicTo(6.04, 5.711, 6.264, 5.764, 6.5, 5.764)
      ..cubicTo(6.736, 5.764, 6.96, 5.711, 7.171, 5.606)
      ..lineTo(11.382, 3.5)
      ..close()
      ..moveTo(1, 9.573)
      ..cubicTo(1, 9.762, 1.05, 9.938, 1.149, 10.099)
      ..cubicTo(1.249, 10.26, 1.383, 10.383, 1.553, 10.467)
      ..lineTo(5.829, 12.606)
      ..cubicTo(5.885, 12.634, 5.942, 12.658, 6, 12.678)
      ..lineTo(6, 6.714)
      ..cubicTo(5.787, 6.671, 5.581, 6.6, 5.382, 6.5)
      ..lineTo(1.006, 4.312)
      ..cubicTo(1.002, 4.35, 1, 4.388, 1, 4.427)
      ..lineTo(1, 9.573)
      ..close()
      ..moveTo(14, 7.707)
      ..cubicTo(14.276, 7.707, 14.512, 7.805, 14.707, 8)
      ..lineTo(15, 8.293)
      ..cubicTo(15.195, 8.488, 15.293, 8.724, 15.293, 9)
      ..cubicTo(15.293, 9.276, 15.195, 9.512, 15, 9.707)
      ..lineTo(12.061, 12.646)
      ..cubicTo(11.56, 13.147, 11.007, 13.579, 10.4, 13.943)
      ..lineTo(8.757, 14.929)
      ..cubicTo(8.636, 15.001, 8.51, 15.021, 8.378, 14.988)
      ..cubicTo(8.246, 14.955, 8.144, 14.878, 8.071, 14.757)
      ..cubicTo(8.023, 14.677, 7.999, 14.592, 7.999, 14.5)
      ..cubicTo(7.999, 14.408, 8.023, 14.323, 8.071, 14.243)
      ..lineTo(9.057, 12.6)
      ..cubicTo(9.421, 11.993, 9.853, 11.44, 10.354, 10.939)
      ..lineTo(13.293, 8)
      ..cubicTo(13.488, 7.805, 13.724, 7.707, 14, 7.707)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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