# code-block icon

Code block. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/code-block

- Category: Development
- Use it for: code block, insert code block, code snippet, snippet
- Tags: code, code-block, snippet, pre, source, markup, editor, developer
- Family: binary, braces, brackets, code, code-alert, code-eye, code-off, code-pencil, code-play, code-search, code-sparkle, parentheses
- Component name: CodeBlockIcon
- Added: 2026-10-15

## Alternatives

- `code`: inline code or code in general (code)

## Also fits

- code: a code block in a document (code-block)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

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

The SVG of every style: https://gentleface.com/icons/code-block.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="M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z"/></svg>
```

### React

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

export function CodeBlockIcon(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.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "code-block" (line-round), MIT. https://gentleface.com/icons/code-block -->
<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="M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "code-block" (line-round), MIT. https://gentleface.com/icons/code-block -->
<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="M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "code-block" (line-round), MIT. https://gentleface.com/icons/code-block. Takes the text color. */
.icon-code-block {
  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='M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z'/%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='M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z'/%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='M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct CodeBlockIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 13.414, y: 12.414))
        p.addCurve(to: CGPoint(x: 12.736, y: 12.86), control1: CGPoint(x: 13.219, y: 12.609), control2: CGPoint(x: 12.993, y: 12.758))
        p.addCurve(to: CGPoint(x: 12, y: 13), control1: CGPoint(x: 12.5, y: 12.953), control2: CGPoint(x: 12.254, y: 13))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 3.264, y: 12.86), control1: CGPoint(x: 3.746, y: 13), control2: CGPoint(x: 3.5, y: 12.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 12.414), control1: CGPoint(x: 3.007, y: 12.758), control2: CGPoint(x: 2.781, y: 12.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 11.736), control1: CGPoint(x: 2.391, y: 12.219), control2: CGPoint(x: 2.242, y: 11.993))
        p.addCurve(to: CGPoint(x: 2, y: 11), control1: CGPoint(x: 2.047, y: 11.5), control2: CGPoint(x: 2, y: 11.254))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addCurve(to: CGPoint(x: 2.14, y: 3.264), control1: CGPoint(x: 2, y: 3.746), control2: CGPoint(x: 2.047, y: 3.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 2.586), control1: CGPoint(x: 2.242, y: 3.007), control2: CGPoint(x: 2.391, y: 2.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 2.14), control1: CGPoint(x: 2.781, y: 2.391), control2: CGPoint(x: 3.007, y: 2.242))
        p.addCurve(to: CGPoint(x: 4, y: 2), control1: CGPoint(x: 3.5, y: 2.047), control2: CGPoint(x: 3.746, y: 2))
        p.addLine(to: CGPoint(x: 12, y: 2))
        p.addCurve(to: CGPoint(x: 12.736, y: 2.14), control1: CGPoint(x: 12.254, y: 2), control2: CGPoint(x: 12.5, y: 2.047))
        p.addCurve(to: CGPoint(x: 13.414, y: 2.586), control1: CGPoint(x: 12.993, y: 2.242), control2: CGPoint(x: 13.219, y: 2.391))
        p.addCurve(to: CGPoint(x: 13.86, y: 3.264), control1: CGPoint(x: 13.609, y: 2.781), control2: CGPoint(x: 13.758, y: 3.007))
        p.addCurve(to: CGPoint(x: 14, y: 4), control1: CGPoint(x: 13.953, y: 3.5), control2: CGPoint(x: 14, y: 3.746))
        p.addLine(to: CGPoint(x: 14, y: 11))
        p.addCurve(to: CGPoint(x: 13.86, y: 11.736), control1: CGPoint(x: 14, y: 11.254), control2: CGPoint(x: 13.953, y: 11.5))
        p.addCurve(to: CGPoint(x: 13.414, y: 12.414), control1: CGPoint(x: 13.758, y: 11.993), control2: CGPoint(x: 13.609, y: 12.219))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.293, y: 11.707))
        p.addCurve(to: CGPoint(x: 4, y: 12), control1: CGPoint(x: 3.488, y: 11.902), control2: CGPoint(x: 3.724, y: 12))
        p.addLine(to: CGPoint(x: 12, y: 12))
        p.addCurve(to: CGPoint(x: 12.707, y: 11.707), control1: CGPoint(x: 12.276, y: 12), control2: CGPoint(x: 12.512, y: 11.902))
        p.addCurve(to: CGPoint(x: 13, y: 11), control1: CGPoint(x: 12.902, y: 11.512), control2: CGPoint(x: 13, y: 11.276))
        p.addLine(to: CGPoint(x: 13, y: 4))
        p.addCurve(to: CGPoint(x: 12.707, y: 3.293), control1: CGPoint(x: 13, y: 3.724), control2: CGPoint(x: 12.902, y: 3.488))
        p.addCurve(to: CGPoint(x: 12, y: 3), control1: CGPoint(x: 12.512, y: 3.098), control2: CGPoint(x: 12.276, y: 3))
        p.addLine(to: CGPoint(x: 4, y: 3))
        p.addCurve(to: CGPoint(x: 3.293, y: 3.293), control1: CGPoint(x: 3.724, y: 3), control2: CGPoint(x: 3.488, y: 3.098))
        p.addCurve(to: CGPoint(x: 3, y: 4), control1: CGPoint(x: 3.098, y: 3.488), control2: CGPoint(x: 3, y: 3.724))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addCurve(to: CGPoint(x: 3.293, y: 11.707), control1: CGPoint(x: 3, y: 11.276), control2: CGPoint(x: 3.098, y: 11.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.003, y: 9.5))
        p.addCurve(to: CGPoint(x: 6.854, y: 9.854), control1: CGPoint(x: 7.003, y: 9.636), control2: CGPoint(x: 6.953, y: 9.754))
        p.addCurve(to: CGPoint(x: 6.5, y: 10), control1: CGPoint(x: 6.756, y: 9.951), control2: CGPoint(x: 6.638, y: 10))
        p.addCurve(to: CGPoint(x: 6.146, y: 9.854), control1: CGPoint(x: 6.362, y: 10), control2: CGPoint(x: 6.244, y: 9.951))
        p.addLine(to: CGPoint(x: 5.146, y: 8.854))
        p.addCurve(to: CGPoint(x: 4.743, y: 8.26), control1: CGPoint(x: 4.974, y: 8.681), control2: CGPoint(x: 4.84, y: 8.484))
        p.addCurve(to: CGPoint(x: 4.586, y: 7.5), control1: CGPoint(x: 4.638, y: 8.018), control2: CGPoint(x: 4.586, y: 7.764))
        p.addCurve(to: CGPoint(x: 4.743, y: 6.74), control1: CGPoint(x: 4.586, y: 7.236), control2: CGPoint(x: 4.638, y: 6.982))
        p.addCurve(to: CGPoint(x: 5.146, y: 6.146), control1: CGPoint(x: 4.84, y: 6.516), control2: CGPoint(x: 4.974, y: 6.319))
        p.addLine(to: CGPoint(x: 6.146, y: 5.146))
        p.addCurve(to: CGPoint(x: 6.5, y: 4.997), control1: CGPoint(x: 6.246, y: 5.047), control2: CGPoint(x: 6.364, y: 4.997))
        p.addCurve(to: CGPoint(x: 6.854, y: 5.146), control1: CGPoint(x: 6.636, y: 4.997), control2: CGPoint(x: 6.754, y: 5.047))
        p.addCurve(to: CGPoint(x: 7.003, y: 5.5), control1: CGPoint(x: 6.953, y: 5.246), control2: CGPoint(x: 7.003, y: 5.364))
        p.addCurve(to: CGPoint(x: 6.854, y: 5.854), control1: CGPoint(x: 7.003, y: 5.636), control2: CGPoint(x: 6.953, y: 5.754))
        p.addLine(to: CGPoint(x: 5.854, y: 6.854))
        p.addCurve(to: CGPoint(x: 5.586, y: 7.5), control1: CGPoint(x: 5.675, y: 7.032), control2: CGPoint(x: 5.586, y: 7.248))
        p.addCurve(to: CGPoint(x: 5.854, y: 8.146), control1: CGPoint(x: 5.586, y: 7.752), control2: CGPoint(x: 5.675, y: 7.968))
        p.addLine(to: CGPoint(x: 6.854, y: 9.146))
        p.addCurve(to: CGPoint(x: 7.003, y: 9.5), control1: CGPoint(x: 6.953, y: 9.246), control2: CGPoint(x: 7.003, y: 9.364))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.257, y: 6.74))
        p.addCurve(to: CGPoint(x: 11.414, y: 7.5), control1: CGPoint(x: 11.362, y: 6.982), control2: CGPoint(x: 11.414, y: 7.236))
        p.addCurve(to: CGPoint(x: 11.257, y: 8.26), control1: CGPoint(x: 11.414, y: 7.764), control2: CGPoint(x: 11.362, y: 8.018))
        p.addCurve(to: CGPoint(x: 10.854, y: 8.854), control1: CGPoint(x: 11.16, y: 8.484), control2: CGPoint(x: 11.026, y: 8.681))
        p.addLine(to: CGPoint(x: 9.854, y: 9.854))
        p.addCurve(to: CGPoint(x: 9.5, y: 10.003), control1: CGPoint(x: 9.754, y: 9.953), control2: CGPoint(x: 9.636, y: 10.003))
        p.addCurve(to: CGPoint(x: 9.146, y: 9.854), control1: CGPoint(x: 9.364, y: 10.003), control2: CGPoint(x: 9.246, y: 9.953))
        p.addCurve(to: CGPoint(x: 8.997, y: 9.5), control1: CGPoint(x: 9.047, y: 9.754), control2: CGPoint(x: 8.997, y: 9.636))
        p.addCurve(to: CGPoint(x: 9.146, y: 9.146), control1: CGPoint(x: 8.997, y: 9.364), control2: CGPoint(x: 9.047, y: 9.246))
        p.addLine(to: CGPoint(x: 10.146, y: 8.146))
        p.addCurve(to: CGPoint(x: 10.414, y: 7.5), control1: CGPoint(x: 10.325, y: 7.968), control2: CGPoint(x: 10.414, y: 7.752))
        p.addCurve(to: CGPoint(x: 10.146, y: 6.854), control1: CGPoint(x: 10.414, y: 7.248), control2: CGPoint(x: 10.325, y: 7.032))
        p.addLine(to: CGPoint(x: 9.146, y: 5.854))
        p.addCurve(to: CGPoint(x: 9, y: 5.5), control1: CGPoint(x: 9.049, y: 5.756), control2: CGPoint(x: 9, y: 5.638))
        p.addCurve(to: CGPoint(x: 9.146, y: 5.146), control1: CGPoint(x: 9, y: 5.362), control2: CGPoint(x: 9.049, y: 5.244))
        p.addCurve(to: CGPoint(x: 9.5, y: 4.997), control1: CGPoint(x: 9.246, y: 5.047), control2: CGPoint(x: 9.364, y: 4.997))
        p.addCurve(to: CGPoint(x: 9.854, y: 5.146), control1: CGPoint(x: 9.636, y: 4.997), control2: CGPoint(x: 9.754, y: 5.047))
        p.addLine(to: CGPoint(x: 10.854, y: 6.146))
        p.addCurve(to: CGPoint(x: 11.257, y: 6.74), control1: CGPoint(x: 11.026, y: 6.319), control2: CGPoint(x: 11.16, y: 6.516))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "code-block" (line-round), MIT. https://gentleface.com/icons/code-block
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 CodeBlockIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "code-block", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_code_block.xml · Gentleface "code-block" (line-round), MIT. https://gentleface.com/icons/code-block -->
<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="M13.414 12.414C13.219 12.609 12.993 12.758 12.736 12.86C12.5 12.953 12.254 13 12 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L12 2C12.254 2 12.5 2.047 12.736 2.14C12.993 2.242 13.219 2.391 13.414 2.586C13.609 2.781 13.758 3.007 13.86 3.264C13.953 3.5 14 3.746 14 4L14 11C14 11.254 13.953 11.5 13.86 11.736C13.758 11.993 13.609 12.219 13.414 12.414ZM3.293 11.707C3.488 11.902 3.724 12 4 12L12 12C12.276 12 12.512 11.902 12.707 11.707C12.902 11.512 13 11.276 13 11L13 4C13 3.724 12.902 3.488 12.707 3.293C12.512 3.098 12.276 3 12 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707ZM7.003 9.5C7.003 9.636 6.953 9.754 6.854 9.854C6.756 9.951 6.638 10 6.5 10C6.362 10 6.244 9.951 6.146 9.854L5.146 8.854C4.974 8.681 4.84 8.484 4.743 8.26C4.638 8.018 4.586 7.764 4.586 7.5C4.586 7.236 4.638 6.982 4.743 6.74C4.84 6.516 4.974 6.319 5.146 6.146L6.146 5.146C6.246 5.047 6.364 4.997 6.5 4.997C6.636 4.997 6.754 5.047 6.854 5.146C6.953 5.246 7.003 5.364 7.003 5.5C7.003 5.636 6.953 5.754 6.854 5.854L5.854 6.854C5.675 7.032 5.586 7.248 5.586 7.5C5.586 7.752 5.675 7.968 5.854 8.146L6.854 9.146C6.953 9.246 7.003 9.364 7.003 9.5ZM11.257 6.74C11.362 6.982 11.414 7.236 11.414 7.5C11.414 7.764 11.362 8.018 11.257 8.26C11.16 8.484 11.026 8.681 10.854 8.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.146 8.146C10.325 7.968 10.414 7.752 10.414 7.5C10.414 7.248 10.325 7.032 10.146 6.854L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L10.854 6.146C11.026 6.319 11.16 6.516 11.257 6.74Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(13.414, 12.414)
      ..cubicTo(13.219, 12.609, 12.993, 12.758, 12.736, 12.86)
      ..cubicTo(12.5, 12.953, 12.254, 13, 12, 13)
      ..lineTo(4, 13)
      ..cubicTo(3.746, 13, 3.5, 12.953, 3.264, 12.86)
      ..cubicTo(3.007, 12.758, 2.781, 12.609, 2.586, 12.414)
      ..cubicTo(2.391, 12.219, 2.242, 11.993, 2.14, 11.736)
      ..cubicTo(2.047, 11.5, 2, 11.254, 2, 11)
      ..lineTo(2, 4)
      ..cubicTo(2, 3.746, 2.047, 3.5, 2.14, 3.264)
      ..cubicTo(2.242, 3.007, 2.391, 2.781, 2.586, 2.586)
      ..cubicTo(2.781, 2.391, 3.007, 2.242, 3.264, 2.14)
      ..cubicTo(3.5, 2.047, 3.746, 2, 4, 2)
      ..lineTo(12, 2)
      ..cubicTo(12.254, 2, 12.5, 2.047, 12.736, 2.14)
      ..cubicTo(12.993, 2.242, 13.219, 2.391, 13.414, 2.586)
      ..cubicTo(13.609, 2.781, 13.758, 3.007, 13.86, 3.264)
      ..cubicTo(13.953, 3.5, 14, 3.746, 14, 4)
      ..lineTo(14, 11)
      ..cubicTo(14, 11.254, 13.953, 11.5, 13.86, 11.736)
      ..cubicTo(13.758, 11.993, 13.609, 12.219, 13.414, 12.414)
      ..close()
      ..moveTo(3.293, 11.707)
      ..cubicTo(3.488, 11.902, 3.724, 12, 4, 12)
      ..lineTo(12, 12)
      ..cubicTo(12.276, 12, 12.512, 11.902, 12.707, 11.707)
      ..cubicTo(12.902, 11.512, 13, 11.276, 13, 11)
      ..lineTo(13, 4)
      ..cubicTo(13, 3.724, 12.902, 3.488, 12.707, 3.293)
      ..cubicTo(12.512, 3.098, 12.276, 3, 12, 3)
      ..lineTo(4, 3)
      ..cubicTo(3.724, 3, 3.488, 3.098, 3.293, 3.293)
      ..cubicTo(3.098, 3.488, 3, 3.724, 3, 4)
      ..lineTo(3, 11)
      ..cubicTo(3, 11.276, 3.098, 11.512, 3.293, 11.707)
      ..close()
      ..moveTo(7.003, 9.5)
      ..cubicTo(7.003, 9.636, 6.953, 9.754, 6.854, 9.854)
      ..cubicTo(6.756, 9.951, 6.638, 10, 6.5, 10)
      ..cubicTo(6.362, 10, 6.244, 9.951, 6.146, 9.854)
      ..lineTo(5.146, 8.854)
      ..cubicTo(4.974, 8.681, 4.84, 8.484, 4.743, 8.26)
      ..cubicTo(4.638, 8.018, 4.586, 7.764, 4.586, 7.5)
      ..cubicTo(4.586, 7.236, 4.638, 6.982, 4.743, 6.74)
      ..cubicTo(4.84, 6.516, 4.974, 6.319, 5.146, 6.146)
      ..lineTo(6.146, 5.146)
      ..cubicTo(6.246, 5.047, 6.364, 4.997, 6.5, 4.997)
      ..cubicTo(6.636, 4.997, 6.754, 5.047, 6.854, 5.146)
      ..cubicTo(6.953, 5.246, 7.003, 5.364, 7.003, 5.5)
      ..cubicTo(7.003, 5.636, 6.953, 5.754, 6.854, 5.854)
      ..lineTo(5.854, 6.854)
      ..cubicTo(5.675, 7.032, 5.586, 7.248, 5.586, 7.5)
      ..cubicTo(5.586, 7.752, 5.675, 7.968, 5.854, 8.146)
      ..lineTo(6.854, 9.146)
      ..cubicTo(6.953, 9.246, 7.003, 9.364, 7.003, 9.5)
      ..close()
      ..moveTo(11.257, 6.74)
      ..cubicTo(11.362, 6.982, 11.414, 7.236, 11.414, 7.5)
      ..cubicTo(11.414, 7.764, 11.362, 8.018, 11.257, 8.26)
      ..cubicTo(11.16, 8.484, 11.026, 8.681, 10.854, 8.854)
      ..lineTo(9.854, 9.854)
      ..cubicTo(9.754, 9.953, 9.636, 10.003, 9.5, 10.003)
      ..cubicTo(9.364, 10.003, 9.246, 9.953, 9.146, 9.854)
      ..cubicTo(9.047, 9.754, 8.997, 9.636, 8.997, 9.5)
      ..cubicTo(8.997, 9.364, 9.047, 9.246, 9.146, 9.146)
      ..lineTo(10.146, 8.146)
      ..cubicTo(10.325, 7.968, 10.414, 7.752, 10.414, 7.5)
      ..cubicTo(10.414, 7.248, 10.325, 7.032, 10.146, 6.854)
      ..lineTo(9.146, 5.854)
      ..cubicTo(9.049, 5.756, 9, 5.638, 9, 5.5)
      ..cubicTo(9, 5.362, 9.049, 5.244, 9.146, 5.146)
      ..cubicTo(9.246, 5.047, 9.364, 4.997, 9.5, 4.997)
      ..cubicTo(9.636, 4.997, 9.754, 5.047, 9.854, 5.146)
      ..lineTo(10.854, 6.146)
      ..cubicTo(11.026, 6.319, 11.16, 6.516, 11.257, 6.74)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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