# image-in-front-of-text icon

Image in front of text. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/image-in-front-of-text

- Category: Text & formatting
- Use it for: in front of text, image in front of text
- Tags: in front of text, wrap, text wrap, image, layout, overlay, format, document
- Component name: ImageInFrontOfTextIcon
- Added: 2026-11-12

## 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/image-in-front-of-text.svg · PNG https://gentleface.com/png/line-round/16/image-in-front-of-text.png · https://gentleface.com/png/line-round/32/image-in-front-of-text.png · https://gentleface.com/png/line-round/48/image-in-front-of-text.png
- line-soft: https://gentleface.com/svg/line-soft/16/image-in-front-of-text.svg · PNG https://gentleface.com/png/line-soft/16/image-in-front-of-text.png · https://gentleface.com/png/line-soft/32/image-in-front-of-text.png · https://gentleface.com/png/line-soft/48/image-in-front-of-text.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/image-in-front-of-text.svg · PNG https://gentleface.com/png/line-sharp/16/image-in-front-of-text.png · https://gentleface.com/png/line-sharp/32/image-in-front-of-text.png · https://gentleface.com/png/line-sharp/48/image-in-front-of-text.png
- solid-round: https://gentleface.com/svg/solid-round/16/image-in-front-of-text.svg · PNG https://gentleface.com/png/solid-round/16/image-in-front-of-text.png · https://gentleface.com/png/solid-round/32/image-in-front-of-text.png · https://gentleface.com/png/solid-round/48/image-in-front-of-text.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/image-in-front-of-text.svg · PNG https://gentleface.com/png/solid-soft/16/image-in-front-of-text.png · https://gentleface.com/png/solid-soft/32/image-in-front-of-text.png · https://gentleface.com/png/solid-soft/48/image-in-front-of-text.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/image-in-front-of-text.svg · PNG https://gentleface.com/png/solid-sharp/16/image-in-front-of-text.png · https://gentleface.com/png/solid-sharp/32/image-in-front-of-text.png · https://gentleface.com/png/solid-sharp/48/image-in-front-of-text.png

The SVG of every style: https://gentleface.com/icons/image-in-front-of-text.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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z"/></svg>
```

### React

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

export function ImageInFrontOfTextIcon(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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text -->
<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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text -->
<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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text. Takes the text color. */
.icon-image-in-front-of-text {
  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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z'/%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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z'/%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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

```swift
// Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text
import SwiftUI

struct ImageInFrontOfTextIcon: 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.addCurve(to: CGPoint(x: 14.856, y: 3.856), control1: CGPoint(x: 15, y: 3.641), control2: CGPoint(x: 14.952, y: 3.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 4), control1: CGPoint(x: 14.759, y: 3.952), control2: CGPoint(x: 14.641, y: 4))
        p.addLine(to: CGPoint(x: 1.5, y: 4))
        p.addCurve(to: CGPoint(x: 1.144, y: 3.856), control1: CGPoint(x: 1.359, y: 4), control2: CGPoint(x: 1.241, y: 3.952))
        p.addCurve(to: CGPoint(x: 1, y: 3.5), control1: CGPoint(x: 1.048, y: 3.759), control2: CGPoint(x: 1, y: 3.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 3.144), control1: CGPoint(x: 1, y: 3.359), control2: CGPoint(x: 1.048, y: 3.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 3), control1: CGPoint(x: 1.241, y: 3.048), control2: CGPoint(x: 1.359, 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: 10.856, y: 5.144))
        p.addCurve(to: CGPoint(x: 11, y: 5.5), control1: CGPoint(x: 10.952, y: 5.241), control2: CGPoint(x: 11, y: 5.359))
        p.addLine(to: CGPoint(x: 11, y: 10.5))
        p.addCurve(to: CGPoint(x: 10.856, y: 10.856), control1: CGPoint(x: 11, y: 10.641), control2: CGPoint(x: 10.952, y: 10.759))
        p.addCurve(to: CGPoint(x: 10.5, y: 11), control1: CGPoint(x: 10.759, y: 10.952), control2: CGPoint(x: 10.641, y: 11))
        p.addLine(to: CGPoint(x: 5.5, y: 11))
        p.addCurve(to: CGPoint(x: 5.144, y: 10.856), control1: CGPoint(x: 5.359, y: 11), control2: CGPoint(x: 5.241, y: 10.952))
        p.addCurve(to: CGPoint(x: 5, y: 10.5), control1: CGPoint(x: 5.048, y: 10.759), control2: CGPoint(x: 5, y: 10.641))
        p.addLine(to: CGPoint(x: 5, y: 5.5))
        p.addCurve(to: CGPoint(x: 5.144, y: 5.144), control1: CGPoint(x: 5, y: 5.359), control2: CGPoint(x: 5.048, y: 5.241))
        p.addCurve(to: CGPoint(x: 5.5, y: 5), control1: CGPoint(x: 5.241, y: 5.048), control2: CGPoint(x: 5.359, y: 5))
        p.addLine(to: CGPoint(x: 10.5, y: 5))
        p.addCurve(to: CGPoint(x: 10.856, y: 5.144), control1: CGPoint(x: 10.641, y: 5), control2: CGPoint(x: 10.759, y: 5.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1.144, y: 6.856))
        p.addCurve(to: CGPoint(x: 1, y: 6.5), control1: CGPoint(x: 1.048, y: 6.759), control2: CGPoint(x: 1, y: 6.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 6.144), control1: CGPoint(x: 1, y: 6.359), control2: CGPoint(x: 1.048, y: 6.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 6), control1: CGPoint(x: 1.241, y: 6.048), control2: CGPoint(x: 1.359, y: 6))
        p.addLine(to: CGPoint(x: 3.5, y: 6))
        p.addCurve(to: CGPoint(x: 3.856, y: 6.144), control1: CGPoint(x: 3.641, y: 6), control2: CGPoint(x: 3.759, y: 6.048))
        p.addCurve(to: CGPoint(x: 4, y: 6.5), control1: CGPoint(x: 3.952, y: 6.241), control2: CGPoint(x: 4, y: 6.359))
        p.addCurve(to: CGPoint(x: 3.856, y: 6.856), control1: CGPoint(x: 4, y: 6.641), control2: CGPoint(x: 3.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 3.5, y: 7), control1: CGPoint(x: 3.759, y: 6.952), control2: CGPoint(x: 3.641, y: 7))
        p.addLine(to: CGPoint(x: 1.5, y: 7))
        p.addCurve(to: CGPoint(x: 1.144, y: 6.856), control1: CGPoint(x: 1.359, y: 7), control2: CGPoint(x: 1.241, y: 6.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.856, y: 6.144))
        p.addCurve(to: CGPoint(x: 15, y: 6.5), control1: CGPoint(x: 14.952, y: 6.241), control2: CGPoint(x: 15, y: 6.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 6.856), control1: CGPoint(x: 15, y: 6.641), control2: CGPoint(x: 14.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 7), control1: CGPoint(x: 14.759, y: 6.952), control2: CGPoint(x: 14.641, y: 7))
        p.addLine(to: CGPoint(x: 12.5, 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.addCurve(to: CGPoint(x: 12.144, y: 6.144), control1: CGPoint(x: 12, y: 6.359), control2: CGPoint(x: 12.048, y: 6.241))
        p.addCurve(to: CGPoint(x: 12.5, y: 6), control1: CGPoint(x: 12.241, y: 6.048), control2: CGPoint(x: 12.359, y: 6))
        p.addLine(to: CGPoint(x: 14.5, y: 6))
        p.addCurve(to: CGPoint(x: 14.856, y: 6.144), control1: CGPoint(x: 14.641, y: 6), control2: CGPoint(x: 14.759, y: 6.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1.144, y: 9.856))
        p.addCurve(to: CGPoint(x: 1, y: 9.5), control1: CGPoint(x: 1.048, y: 9.759), control2: CGPoint(x: 1, y: 9.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 9.144), control1: CGPoint(x: 1, y: 9.359), control2: CGPoint(x: 1.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 9), control1: CGPoint(x: 1.241, y: 9.048), control2: CGPoint(x: 1.359, y: 9))
        p.addLine(to: CGPoint(x: 3.5, y: 9))
        p.addCurve(to: CGPoint(x: 3.856, y: 9.144), control1: CGPoint(x: 3.641, y: 9), control2: CGPoint(x: 3.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 4, y: 9.5), control1: CGPoint(x: 3.952, y: 9.241), control2: CGPoint(x: 4, y: 9.359))
        p.addCurve(to: CGPoint(x: 3.856, y: 9.856), control1: CGPoint(x: 4, y: 9.641), control2: CGPoint(x: 3.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 3.5, y: 10), control1: CGPoint(x: 3.759, y: 9.952), control2: CGPoint(x: 3.641, y: 10))
        p.addLine(to: CGPoint(x: 1.5, y: 10))
        p.addCurve(to: CGPoint(x: 1.144, y: 9.856), control1: CGPoint(x: 1.359, y: 10), control2: CGPoint(x: 1.241, y: 9.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 14.856, y: 9.144))
        p.addCurve(to: CGPoint(x: 15, y: 9.5), control1: CGPoint(x: 14.952, y: 9.241), control2: CGPoint(x: 15, y: 9.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.856), control1: CGPoint(x: 15, y: 9.641), control2: CGPoint(x: 14.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 10), control1: CGPoint(x: 14.759, y: 9.952), control2: CGPoint(x: 14.641, y: 10))
        p.addLine(to: CGPoint(x: 12.5, y: 10))
        p.addCurve(to: CGPoint(x: 12.144, y: 9.856), control1: CGPoint(x: 12.359, y: 10), control2: CGPoint(x: 12.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 12, y: 9.5), control1: CGPoint(x: 12.048, y: 9.759), control2: CGPoint(x: 12, y: 9.641))
        p.addCurve(to: CGPoint(x: 12.144, y: 9.144), control1: CGPoint(x: 12, y: 9.359), control2: CGPoint(x: 12.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 12.5, y: 9), control1: CGPoint(x: 12.241, y: 9.048), control2: CGPoint(x: 12.359, y: 9))
        p.addLine(to: CGPoint(x: 14.5, y: 9))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.144), control1: CGPoint(x: 14.641, y: 9), control2: CGPoint(x: 14.759, y: 9.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1.144, y: 12.856))
        p.addCurve(to: CGPoint(x: 1, y: 12.5), control1: CGPoint(x: 1.048, y: 12.759), control2: CGPoint(x: 1, y: 12.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 12.144), control1: CGPoint(x: 1, y: 12.359), control2: CGPoint(x: 1.048, y: 12.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 12), control1: CGPoint(x: 1.241, y: 12.048), control2: CGPoint(x: 1.359, y: 12))
        p.addLine(to: CGPoint(x: 14.5, y: 12))
        p.addCurve(to: CGPoint(x: 14.856, y: 12.144), control1: CGPoint(x: 14.641, y: 12), control2: CGPoint(x: 14.759, y: 12.048))
        p.addCurve(to: CGPoint(x: 15, y: 12.5), control1: CGPoint(x: 14.952, y: 12.241), control2: CGPoint(x: 15, y: 12.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 12.856), control1: CGPoint(x: 15, y: 12.641), control2: CGPoint(x: 14.952, y: 12.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 13), control1: CGPoint(x: 14.759, y: 12.952), control2: CGPoint(x: 14.641, y: 13))
        p.addLine(to: CGPoint(x: 1.5, y: 13))
        p.addCurve(to: CGPoint(x: 1.144, y: 12.856), control1: CGPoint(x: 1.359, y: 13), control2: CGPoint(x: 1.241, y: 12.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text
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 ImageInFrontOfTextIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "image-in-front-of-text", 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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_image_in_front_of_text.xml · Gentleface "image-in-front-of-text" (line-round), MIT. https://gentleface.com/icons/image-in-front-of-text -->
<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.5C15 3.641 14.952 3.759 14.856 3.856C14.759 3.952 14.641 4 14.5 4L1.5 4C1.359 4 1.241 3.952 1.144 3.856C1.048 3.759 1 3.641 1 3.5C1 3.359 1.048 3.241 1.144 3.144C1.241 3.048 1.359 3 1.5 3L14.5 3C14.641 3 14.759 3.048 14.856 3.144ZM10.856 5.144C10.952 5.241 11 5.359 11 5.5L11 10.5C11 10.641 10.952 10.759 10.856 10.856C10.759 10.952 10.641 11 10.5 11L5.5 11C5.359 11 5.241 10.952 5.144 10.856C5.048 10.759 5 10.641 5 10.5L5 5.5C5 5.359 5.048 5.241 5.144 5.144C5.241 5.048 5.359 5 5.5 5L10.5 5C10.641 5 10.759 5.048 10.856 5.144ZM1.144 6.856C1.048 6.759 1 6.641 1 6.5C1 6.359 1.048 6.241 1.144 6.144C1.241 6.048 1.359 6 1.5 6L3.5 6C3.641 6 3.759 6.048 3.856 6.144C3.952 6.241 4 6.359 4 6.5C4 6.641 3.952 6.759 3.856 6.856C3.759 6.952 3.641 7 3.5 7L1.5 7C1.359 7 1.241 6.952 1.144 6.856ZM14.856 6.144C14.952 6.241 15 6.359 15 6.5C15 6.641 14.952 6.759 14.856 6.856C14.759 6.952 14.641 7 14.5 7L12.5 7C12.359 7 12.241 6.952 12.144 6.856C12.048 6.759 12 6.641 12 6.5C12 6.359 12.048 6.241 12.144 6.144C12.241 6.048 12.359 6 12.5 6L14.5 6C14.641 6 14.759 6.048 14.856 6.144ZM1.144 9.856C1.048 9.759 1 9.641 1 9.5C1 9.359 1.048 9.241 1.144 9.144C1.241 9.048 1.359 9 1.5 9L3.5 9C3.641 9 3.759 9.048 3.856 9.144C3.952 9.241 4 9.359 4 9.5C4 9.641 3.952 9.759 3.856 9.856C3.759 9.952 3.641 10 3.5 10L1.5 10C1.359 10 1.241 9.952 1.144 9.856ZM14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L12.5 10C12.359 10 12.241 9.952 12.144 9.856C12.048 9.759 12 9.641 12 9.5C12 9.359 12.048 9.241 12.144 9.144C12.241 9.048 12.359 9 12.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144ZM1.144 12.856C1.048 12.759 1 12.641 1 12.5C1 12.359 1.048 12.241 1.144 12.144C1.241 12.048 1.359 12 1.5 12L14.5 12C14.641 12 14.759 12.048 14.856 12.144C14.952 12.241 15 12.359 15 12.5C15 12.641 14.952 12.759 14.856 12.856C14.759 12.952 14.641 13 14.5 13L1.5 13C1.359 13 1.241 12.952 1.144 12.856Z"/>
</vector>
```

### Flutter

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

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

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

class _ImageInFrontOfTextIconPainter extends CustomPainter {
  _ImageInFrontOfTextIconPainter(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)
      ..cubicTo(15, 3.641, 14.952, 3.759, 14.856, 3.856)
      ..cubicTo(14.759, 3.952, 14.641, 4, 14.5, 4)
      ..lineTo(1.5, 4)
      ..cubicTo(1.359, 4, 1.241, 3.952, 1.144, 3.856)
      ..cubicTo(1.048, 3.759, 1, 3.641, 1, 3.5)
      ..cubicTo(1, 3.359, 1.048, 3.241, 1.144, 3.144)
      ..cubicTo(1.241, 3.048, 1.359, 3, 1.5, 3)
      ..lineTo(14.5, 3)
      ..cubicTo(14.641, 3, 14.759, 3.048, 14.856, 3.144)
      ..close()
      ..moveTo(10.856, 5.144)
      ..cubicTo(10.952, 5.241, 11, 5.359, 11, 5.5)
      ..lineTo(11, 10.5)
      ..cubicTo(11, 10.641, 10.952, 10.759, 10.856, 10.856)
      ..cubicTo(10.759, 10.952, 10.641, 11, 10.5, 11)
      ..lineTo(5.5, 11)
      ..cubicTo(5.359, 11, 5.241, 10.952, 5.144, 10.856)
      ..cubicTo(5.048, 10.759, 5, 10.641, 5, 10.5)
      ..lineTo(5, 5.5)
      ..cubicTo(5, 5.359, 5.048, 5.241, 5.144, 5.144)
      ..cubicTo(5.241, 5.048, 5.359, 5, 5.5, 5)
      ..lineTo(10.5, 5)
      ..cubicTo(10.641, 5, 10.759, 5.048, 10.856, 5.144)
      ..close()
      ..moveTo(1.144, 6.856)
      ..cubicTo(1.048, 6.759, 1, 6.641, 1, 6.5)
      ..cubicTo(1, 6.359, 1.048, 6.241, 1.144, 6.144)
      ..cubicTo(1.241, 6.048, 1.359, 6, 1.5, 6)
      ..lineTo(3.5, 6)
      ..cubicTo(3.641, 6, 3.759, 6.048, 3.856, 6.144)
      ..cubicTo(3.952, 6.241, 4, 6.359, 4, 6.5)
      ..cubicTo(4, 6.641, 3.952, 6.759, 3.856, 6.856)
      ..cubicTo(3.759, 6.952, 3.641, 7, 3.5, 7)
      ..lineTo(1.5, 7)
      ..cubicTo(1.359, 7, 1.241, 6.952, 1.144, 6.856)
      ..close()
      ..moveTo(14.856, 6.144)
      ..cubicTo(14.952, 6.241, 15, 6.359, 15, 6.5)
      ..cubicTo(15, 6.641, 14.952, 6.759, 14.856, 6.856)
      ..cubicTo(14.759, 6.952, 14.641, 7, 14.5, 7)
      ..lineTo(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)
      ..cubicTo(12, 6.359, 12.048, 6.241, 12.144, 6.144)
      ..cubicTo(12.241, 6.048, 12.359, 6, 12.5, 6)
      ..lineTo(14.5, 6)
      ..cubicTo(14.641, 6, 14.759, 6.048, 14.856, 6.144)
      ..close()
      ..moveTo(1.144, 9.856)
      ..cubicTo(1.048, 9.759, 1, 9.641, 1, 9.5)
      ..cubicTo(1, 9.359, 1.048, 9.241, 1.144, 9.144)
      ..cubicTo(1.241, 9.048, 1.359, 9, 1.5, 9)
      ..lineTo(3.5, 9)
      ..cubicTo(3.641, 9, 3.759, 9.048, 3.856, 9.144)
      ..cubicTo(3.952, 9.241, 4, 9.359, 4, 9.5)
      ..cubicTo(4, 9.641, 3.952, 9.759, 3.856, 9.856)
      ..cubicTo(3.759, 9.952, 3.641, 10, 3.5, 10)
      ..lineTo(1.5, 10)
      ..cubicTo(1.359, 10, 1.241, 9.952, 1.144, 9.856)
      ..close()
      ..moveTo(14.856, 9.144)
      ..cubicTo(14.952, 9.241, 15, 9.359, 15, 9.5)
      ..cubicTo(15, 9.641, 14.952, 9.759, 14.856, 9.856)
      ..cubicTo(14.759, 9.952, 14.641, 10, 14.5, 10)
      ..lineTo(12.5, 10)
      ..cubicTo(12.359, 10, 12.241, 9.952, 12.144, 9.856)
      ..cubicTo(12.048, 9.759, 12, 9.641, 12, 9.5)
      ..cubicTo(12, 9.359, 12.048, 9.241, 12.144, 9.144)
      ..cubicTo(12.241, 9.048, 12.359, 9, 12.5, 9)
      ..lineTo(14.5, 9)
      ..cubicTo(14.641, 9, 14.759, 9.048, 14.856, 9.144)
      ..close()
      ..moveTo(1.144, 12.856)
      ..cubicTo(1.048, 12.759, 1, 12.641, 1, 12.5)
      ..cubicTo(1, 12.359, 1.048, 12.241, 1.144, 12.144)
      ..cubicTo(1.241, 12.048, 1.359, 12, 1.5, 12)
      ..lineTo(14.5, 12)
      ..cubicTo(14.641, 12, 14.759, 12.048, 14.856, 12.144)
      ..cubicTo(14.952, 12.241, 15, 12.359, 15, 12.5)
      ..cubicTo(15, 12.641, 14.952, 12.759, 14.856, 12.856)
      ..cubicTo(14.759, 12.952, 14.641, 13, 14.5, 13)
      ..lineTo(1.5, 13)
      ..cubicTo(1.359, 13, 1.241, 12.952, 1.144, 12.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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