# file-box icon

File box. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/file-box

- Category: Files & folders
- Use it for: 3d model file, 3d file
- Tags: document, 3d, model, cube, object, mesh, obj, stl, fbx, gltf, cad, file
- Family: contract, file, file-alert, file-arrow-down, file-arrow-up, file-binary, file-braces, file-broken, file-chart, file-check, file-clock, file-cloud, file-code, file-database, file-diff, file-dot, file-export, file-eye, file-gear, file-heart, file-image, file-import, file-info, file-key, file-link, file-lock, file-medical, file-music, file-off, file-pencil, file-plus, file-presentation, file-question, file-scan, file-search, file-shield, file-signature, file-sparkle, file-spreadsheet, file-star, file-symlink, file-sync, file-template, file-terminal, file-text, file-type, file-unlock, file-user, file-video, file-x, file-zip, files
- Component name: FileBoxIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { FileBoxIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Alternatives

- `cube`: a 3D object or shape in a scene (3d-shape)

## 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/file-box.svg · PNG https://gentleface.com/png/line-round/16/file-box.png · https://gentleface.com/png/line-round/32/file-box.png · https://gentleface.com/png/line-round/48/file-box.png
- line-soft: https://gentleface.com/svg/line-soft/16/file-box.svg · PNG https://gentleface.com/png/line-soft/16/file-box.png · https://gentleface.com/png/line-soft/32/file-box.png · https://gentleface.com/png/line-soft/48/file-box.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/file-box.svg · PNG https://gentleface.com/png/line-sharp/16/file-box.png · https://gentleface.com/png/line-sharp/32/file-box.png · https://gentleface.com/png/line-sharp/48/file-box.png
- solid-round: https://gentleface.com/svg/solid-round/16/file-box.svg · PNG https://gentleface.com/png/solid-round/16/file-box.png · https://gentleface.com/png/solid-round/32/file-box.png · https://gentleface.com/png/solid-round/48/file-box.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/file-box.svg · PNG https://gentleface.com/png/solid-soft/16/file-box.png · https://gentleface.com/png/solid-soft/32/file-box.png · https://gentleface.com/png/solid-soft/48/file-box.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/file-box.svg · PNG https://gentleface.com/png/solid-sharp/16/file-box.png · https://gentleface.com/png/solid-sharp/32/file-box.png · https://gentleface.com/png/solid-sharp/48/file-box.png

The SVG of every style: https://gentleface.com/icons/file-box.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="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z"/></svg>
```

### React

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

export function FileBoxIcon(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="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "file-box" (line-round), MIT. https://gentleface.com/icons/file-box -->
<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="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "file-box" (line-round), MIT. https://gentleface.com/icons/file-box -->
<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="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "file-box" (line-round), MIT. https://gentleface.com/icons/file-box. Takes the text color. */
.icon-file-box {
  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='M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z'/%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='M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z'/%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='M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct FileBoxIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 8.615, y: 1.222))
        p.addCurve(to: CGPoint(x: 9.561, y: 1.854), control1: CGPoint(x: 8.972, y: 1.37), control2: CGPoint(x: 9.287, y: 1.58))
        p.addLine(to: CGPoint(x: 12.146, y: 4.439))
        p.addCurve(to: CGPoint(x: 12.778, y: 5.385), control1: CGPoint(x: 12.42, y: 4.713), control2: CGPoint(x: 12.63, y: 5.028))
        p.addCurve(to: CGPoint(x: 13, y: 6.5), control1: CGPoint(x: 12.926, y: 5.742), control2: CGPoint(x: 13, y: 6.114))
        p.addLine(to: CGPoint(x: 13, y: 13))
        p.addCurve(to: CGPoint(x: 12.86, y: 13.736), control1: CGPoint(x: 13, y: 13.254), control2: CGPoint(x: 12.953, y: 13.5))
        p.addCurve(to: CGPoint(x: 12.414, y: 14.414), control1: CGPoint(x: 12.758, y: 13.993), control2: CGPoint(x: 12.609, y: 14.219))
        p.addCurve(to: CGPoint(x: 11.736, y: 14.86), control1: CGPoint(x: 12.219, y: 14.609), control2: CGPoint(x: 11.993, y: 14.758))
        p.addCurve(to: CGPoint(x: 11, y: 15), control1: CGPoint(x: 11.5, y: 14.953), control2: CGPoint(x: 11.254, y: 15))
        p.addLine(to: CGPoint(x: 10.5, y: 15))
        p.addCurve(to: CGPoint(x: 10.144, y: 14.856), control1: CGPoint(x: 10.359, y: 15), control2: CGPoint(x: 10.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 10, y: 14.5), control1: CGPoint(x: 10.048, y: 14.759), control2: CGPoint(x: 10, y: 14.641))
        p.addCurve(to: CGPoint(x: 10.144, y: 14.144), control1: CGPoint(x: 10, y: 14.359), control2: CGPoint(x: 10.048, y: 14.241))
        p.addCurve(to: CGPoint(x: 10.5, y: 14), control1: CGPoint(x: 10.241, y: 14.048), control2: CGPoint(x: 10.359, y: 14))
        p.addLine(to: CGPoint(x: 11, y: 14))
        p.addCurve(to: CGPoint(x: 11.707, y: 13.707), control1: CGPoint(x: 11.276, y: 14), control2: CGPoint(x: 11.512, y: 13.902))
        p.addCurve(to: CGPoint(x: 12, y: 13), control1: CGPoint(x: 11.902, y: 13.512), control2: CGPoint(x: 12, y: 13.276))
        p.addLine(to: CGPoint(x: 12, y: 6.5))
        p.addCurve(to: CGPoint(x: 11.934, y: 6), control1: CGPoint(x: 12, y: 6.329), control2: CGPoint(x: 11.978, y: 6.162))
        p.addLine(to: CGPoint(x: 10, y: 6))
        p.addCurve(to: CGPoint(x: 9.264, y: 5.86), control1: CGPoint(x: 9.746, y: 6), control2: CGPoint(x: 9.5, y: 5.953))
        p.addCurve(to: CGPoint(x: 8.586, y: 5.414), control1: CGPoint(x: 9.007, y: 5.758), control2: CGPoint(x: 8.781, y: 5.609))
        p.addCurve(to: CGPoint(x: 8.14, y: 4.736), control1: CGPoint(x: 8.391, y: 5.219), control2: CGPoint(x: 8.242, y: 4.993))
        p.addCurve(to: CGPoint(x: 8, y: 4), control1: CGPoint(x: 8.047, y: 4.5), control2: CGPoint(x: 8, y: 4.254))
        p.addLine(to: CGPoint(x: 8, y: 2.066))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.838, y: 2.022), control2: CGPoint(x: 7.671, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addCurve(to: CGPoint(x: 4.293, y: 2.293), control1: CGPoint(x: 4.724, y: 2), control2: CGPoint(x: 4.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 4, y: 3), control1: CGPoint(x: 4.098, y: 2.488), control2: CGPoint(x: 4, y: 2.724))
        p.addLine(to: CGPoint(x: 4, y: 5.5))
        p.addCurve(to: CGPoint(x: 3.856, y: 5.856), control1: CGPoint(x: 4, y: 5.641), control2: CGPoint(x: 3.952, y: 5.759))
        p.addCurve(to: CGPoint(x: 3.5, y: 6), control1: CGPoint(x: 3.759, y: 5.952), control2: CGPoint(x: 3.641, y: 6))
        p.addCurve(to: CGPoint(x: 3.144, y: 5.856), control1: CGPoint(x: 3.359, y: 6), control2: CGPoint(x: 3.241, y: 5.952))
        p.addCurve(to: CGPoint(x: 3, y: 5.5), control1: CGPoint(x: 3.048, y: 5.759), control2: CGPoint(x: 3, y: 5.641))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addCurve(to: CGPoint(x: 3.14, y: 2.264), control1: CGPoint(x: 3, y: 2.746), control2: CGPoint(x: 3.047, y: 2.5))
        p.addCurve(to: CGPoint(x: 3.586, y: 1.586), control1: CGPoint(x: 3.242, y: 2.007), control2: CGPoint(x: 3.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 4.264, y: 1.14), control1: CGPoint(x: 3.781, y: 1.391), control2: CGPoint(x: 4.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 5, y: 1), control1: CGPoint(x: 4.5, y: 1.047), control2: CGPoint(x: 4.746, y: 1))
        p.addLine(to: CGPoint(x: 7.5, y: 1))
        p.addCurve(to: CGPoint(x: 8.615, y: 1.222), control1: CGPoint(x: 7.886, y: 1), control2: CGPoint(x: 8.258, y: 1.074))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 2.707))
        p.addLine(to: CGPoint(x: 9, y: 4))
        p.addCurve(to: CGPoint(x: 9.293, y: 4.707), control1: CGPoint(x: 9, y: 4.276), control2: CGPoint(x: 9.098, y: 4.512))
        p.addCurve(to: CGPoint(x: 10, y: 5), control1: CGPoint(x: 9.488, y: 4.902), control2: CGPoint(x: 9.724, y: 5))
        p.addLine(to: CGPoint(x: 11.293, y: 5))
        p.addLine(to: CGPoint(x: 9, y: 2.707))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.926, y: 9.237))
        p.addCurve(to: CGPoint(x: 10, y: 9.5), control1: CGPoint(x: 9.975, y: 9.317), control2: CGPoint(x: 10, y: 9.404))
        p.addLine(to: CGPoint(x: 10, y: 12.5))
        p.addCurve(to: CGPoint(x: 9.926, y: 12.763), control1: CGPoint(x: 10, y: 12.596), control2: CGPoint(x: 9.975, y: 12.683))
        p.addCurve(to: CGPoint(x: 9.724, y: 12.947), control1: CGPoint(x: 9.876, y: 12.843), control2: CGPoint(x: 9.809, y: 12.904))
        p.addLine(to: CGPoint(x: 6, y: 14.809))
        p.addLine(to: CGPoint(x: 6, y: 12))
        p.addLine(to: CGPoint(x: 5, y: 12))
        p.addLine(to: CGPoint(x: 5, y: 14.809))
        p.addLine(to: CGPoint(x: 1.276, y: 12.947))
        p.addCurve(to: CGPoint(x: 1.074, y: 12.763), control1: CGPoint(x: 1.191, y: 12.904), control2: CGPoint(x: 1.124, y: 12.843))
        p.addCurve(to: CGPoint(x: 1, y: 12.5), control1: CGPoint(x: 1.025, y: 12.683), control2: CGPoint(x: 1, y: 12.596))
        p.addLine(to: CGPoint(x: 1, y: 9.5))
        p.addCurve(to: CGPoint(x: 1.074, y: 9.237), control1: CGPoint(x: 1, y: 9.404), control2: CGPoint(x: 1.025, y: 9.317))
        p.addCurve(to: CGPoint(x: 1.276, y: 9.053), control1: CGPoint(x: 1.124, y: 9.157), control2: CGPoint(x: 1.191, y: 9.096))
        p.addLine(to: CGPoint(x: 5.276, y: 7.053))
        p.addCurve(to: CGPoint(x: 5.724, y: 7.053), control1: CGPoint(x: 5.425, y: 6.978), control2: CGPoint(x: 5.575, y: 6.978))
        p.addLine(to: CGPoint(x: 9.724, y: 9.053))
        p.addCurve(to: CGPoint(x: 9.926, y: 9.237), control1: CGPoint(x: 9.809, y: 9.096), control2: CGPoint(x: 9.876, y: 9.157))
        p.closeSubpath()
        p.move(to: CGPoint(x: 8.382, y: 9.5))
        p.addLine(to: CGPoint(x: 5.5, y: 8.059))
        p.addLine(to: CGPoint(x: 2.618, y: 9.5))
        p.addLine(to: CGPoint(x: 5.5, y: 10.941))
        p.addLine(to: CGPoint(x: 8.382, y: 9.5))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "file-box" (line-round), MIT. https://gentleface.com/icons/file-box
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 FileBoxIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "file-box", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_file_box.xml · Gentleface "file-box" (line-round), MIT. https://gentleface.com/icons/file-box -->
<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="M8.615 1.222C8.972 1.37 9.287 1.58 9.561 1.854L12.146 4.439C12.42 4.713 12.63 5.028 12.778 5.385C12.926 5.742 13 6.114 13 6.5L13 13C13 13.254 12.953 13.5 12.86 13.736C12.758 13.993 12.609 14.219 12.414 14.414C12.219 14.609 11.993 14.758 11.736 14.86C11.5 14.953 11.254 15 11 15L10.5 15C10.359 15 10.241 14.952 10.144 14.856C10.048 14.759 10 14.641 10 14.5C10 14.359 10.048 14.241 10.144 14.144C10.241 14.048 10.359 14 10.5 14L11 14C11.276 14 11.512 13.902 11.707 13.707C11.902 13.512 12 13.276 12 13L12 6.5C12 6.329 11.978 6.162 11.934 6L10 6C9.746 6 9.5 5.953 9.264 5.86C9.007 5.758 8.781 5.609 8.586 5.414C8.391 5.219 8.242 4.993 8.14 4.736C8.047 4.5 8 4.254 8 4L8 2.066C7.838 2.022 7.671 2 7.5 2L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 5.5C4 5.641 3.952 5.759 3.856 5.856C3.759 5.952 3.641 6 3.5 6C3.359 6 3.241 5.952 3.144 5.856C3.048 5.759 3 5.641 3 5.5L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L7.5 1C7.886 1 8.258 1.074 8.615 1.222ZM9 2.707L9 4C9 4.276 9.098 4.512 9.293 4.707C9.488 4.902 9.724 5 10 5L11.293 5L9 2.707ZM9.926 9.237C9.975 9.317 10 9.404 10 9.5L10 12.5C10 12.596 9.975 12.683 9.926 12.763C9.876 12.843 9.809 12.904 9.724 12.947L6 14.809L6 12L5 12L5 14.809L1.276 12.947C1.191 12.904 1.124 12.843 1.074 12.763C1.025 12.683 1 12.596 1 12.5L1 9.5C1 9.404 1.025 9.317 1.074 9.237C1.124 9.157 1.191 9.096 1.276 9.053L5.276 7.053C5.425 6.978 5.575 6.978 5.724 7.053L9.724 9.053C9.809 9.096 9.876 9.157 9.926 9.237ZM8.382 9.5L5.5 8.059L2.618 9.5L5.5 10.941L8.382 9.5Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(8.615, 1.222)
      ..cubicTo(8.972, 1.37, 9.287, 1.58, 9.561, 1.854)
      ..lineTo(12.146, 4.439)
      ..cubicTo(12.42, 4.713, 12.63, 5.028, 12.778, 5.385)
      ..cubicTo(12.926, 5.742, 13, 6.114, 13, 6.5)
      ..lineTo(13, 13)
      ..cubicTo(13, 13.254, 12.953, 13.5, 12.86, 13.736)
      ..cubicTo(12.758, 13.993, 12.609, 14.219, 12.414, 14.414)
      ..cubicTo(12.219, 14.609, 11.993, 14.758, 11.736, 14.86)
      ..cubicTo(11.5, 14.953, 11.254, 15, 11, 15)
      ..lineTo(10.5, 15)
      ..cubicTo(10.359, 15, 10.241, 14.952, 10.144, 14.856)
      ..cubicTo(10.048, 14.759, 10, 14.641, 10, 14.5)
      ..cubicTo(10, 14.359, 10.048, 14.241, 10.144, 14.144)
      ..cubicTo(10.241, 14.048, 10.359, 14, 10.5, 14)
      ..lineTo(11, 14)
      ..cubicTo(11.276, 14, 11.512, 13.902, 11.707, 13.707)
      ..cubicTo(11.902, 13.512, 12, 13.276, 12, 13)
      ..lineTo(12, 6.5)
      ..cubicTo(12, 6.329, 11.978, 6.162, 11.934, 6)
      ..lineTo(10, 6)
      ..cubicTo(9.746, 6, 9.5, 5.953, 9.264, 5.86)
      ..cubicTo(9.007, 5.758, 8.781, 5.609, 8.586, 5.414)
      ..cubicTo(8.391, 5.219, 8.242, 4.993, 8.14, 4.736)
      ..cubicTo(8.047, 4.5, 8, 4.254, 8, 4)
      ..lineTo(8, 2.066)
      ..cubicTo(7.838, 2.022, 7.671, 2, 7.5, 2)
      ..lineTo(5, 2)
      ..cubicTo(4.724, 2, 4.488, 2.098, 4.293, 2.293)
      ..cubicTo(4.098, 2.488, 4, 2.724, 4, 3)
      ..lineTo(4, 5.5)
      ..cubicTo(4, 5.641, 3.952, 5.759, 3.856, 5.856)
      ..cubicTo(3.759, 5.952, 3.641, 6, 3.5, 6)
      ..cubicTo(3.359, 6, 3.241, 5.952, 3.144, 5.856)
      ..cubicTo(3.048, 5.759, 3, 5.641, 3, 5.5)
      ..lineTo(3, 3)
      ..cubicTo(3, 2.746, 3.047, 2.5, 3.14, 2.264)
      ..cubicTo(3.242, 2.007, 3.391, 1.781, 3.586, 1.586)
      ..cubicTo(3.781, 1.391, 4.007, 1.242, 4.264, 1.14)
      ..cubicTo(4.5, 1.047, 4.746, 1, 5, 1)
      ..lineTo(7.5, 1)
      ..cubicTo(7.886, 1, 8.258, 1.074, 8.615, 1.222)
      ..close()
      ..moveTo(9, 2.707)
      ..lineTo(9, 4)
      ..cubicTo(9, 4.276, 9.098, 4.512, 9.293, 4.707)
      ..cubicTo(9.488, 4.902, 9.724, 5, 10, 5)
      ..lineTo(11.293, 5)
      ..lineTo(9, 2.707)
      ..close()
      ..moveTo(9.926, 9.237)
      ..cubicTo(9.975, 9.317, 10, 9.404, 10, 9.5)
      ..lineTo(10, 12.5)
      ..cubicTo(10, 12.596, 9.975, 12.683, 9.926, 12.763)
      ..cubicTo(9.876, 12.843, 9.809, 12.904, 9.724, 12.947)
      ..lineTo(6, 14.809)
      ..lineTo(6, 12)
      ..lineTo(5, 12)
      ..lineTo(5, 14.809)
      ..lineTo(1.276, 12.947)
      ..cubicTo(1.191, 12.904, 1.124, 12.843, 1.074, 12.763)
      ..cubicTo(1.025, 12.683, 1, 12.596, 1, 12.5)
      ..lineTo(1, 9.5)
      ..cubicTo(1, 9.404, 1.025, 9.317, 1.074, 9.237)
      ..cubicTo(1.124, 9.157, 1.191, 9.096, 1.276, 9.053)
      ..lineTo(5.276, 7.053)
      ..cubicTo(5.425, 6.978, 5.575, 6.978, 5.724, 7.053)
      ..lineTo(9.724, 9.053)
      ..cubicTo(9.809, 9.096, 9.876, 9.157, 9.926, 9.237)
      ..close()
      ..moveTo(8.382, 9.5)
      ..lineTo(5.5, 8.059)
      ..lineTo(2.618, 9.5)
      ..lineTo(5.5, 10.941)
      ..lineTo(8.382, 9.5)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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