# factory icon

Factory. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/factory

- Category: Buildings
- Use it for: factory, industry, manufacturing, industrial
- Tags: factory, industry, industrial, manufacturing, production, plant, warehouse
- Component name: FactoryIcon
- Added: 2026-10-14

## Alternatives

- `warehouse`: storage or distribution

## Also fits

- warehouse: manufacturing or industry

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

The SVG of every style: https://gentleface.com/icons/factory.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="M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z"/></svg>
```

### React

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

export function FactoryIcon(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="M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "factory" (line-round), MIT. https://gentleface.com/icons/factory -->
<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="M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "factory" (line-round), MIT. https://gentleface.com/icons/factory -->
<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="M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "factory" (line-round), MIT. https://gentleface.com/icons/factory. Takes the text color. */
.icon-factory {
  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='M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z'/%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='M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z'/%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='M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct FactoryIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4.5, y: 5.997))
        p.addCurve(to: CGPoint(x: 4.854, y: 6.146), control1: CGPoint(x: 4.636, y: 5.997), control2: CGPoint(x: 4.754, y: 6.047))
        p.addCurve(to: CGPoint(x: 5, y: 6.5), control1: CGPoint(x: 4.951, y: 6.244), control2: CGPoint(x: 5, y: 6.362))
        p.addLine(to: CGPoint(x: 5, y: 8.293))
        p.addLine(to: CGPoint(x: 7.146, y: 6.146))
        p.addCurve(to: CGPoint(x: 7.5, y: 5.997), control1: CGPoint(x: 7.246, y: 6.047), control2: CGPoint(x: 7.364, y: 5.997))
        p.addCurve(to: CGPoint(x: 7.854, y: 6.146), control1: CGPoint(x: 7.636, y: 5.997), control2: CGPoint(x: 7.754, y: 6.047))
        p.addCurve(to: CGPoint(x: 8, y: 6.5), control1: CGPoint(x: 7.951, y: 6.244), control2: CGPoint(x: 8, y: 6.362))
        p.addLine(to: CGPoint(x: 8, y: 8.293))
        p.addLine(to: CGPoint(x: 9.439, y: 6.854))
        p.addCurve(to: CGPoint(x: 9.854, y: 6.233), control1: CGPoint(x: 9.619, y: 6.674), control2: CGPoint(x: 9.757, y: 6.467))
        p.addCurve(to: CGPoint(x: 10, y: 5.5), control1: CGPoint(x: 9.951, y: 5.998), control2: CGPoint(x: 10, y: 5.754))
        p.addLine(to: CGPoint(x: 10, y: 3))
        p.addCurve(to: CGPoint(x: 10.14, y: 2.264), control1: CGPoint(x: 10, y: 2.746), control2: CGPoint(x: 10.047, y: 2.5))
        p.addCurve(to: CGPoint(x: 10.586, y: 1.586), control1: CGPoint(x: 10.242, y: 2.007), control2: CGPoint(x: 10.391, y: 1.781))
        p.addCurve(to: CGPoint(x: 11.264, y: 1.14), control1: CGPoint(x: 10.781, y: 1.391), control2: CGPoint(x: 11.007, y: 1.242))
        p.addCurve(to: CGPoint(x: 12, y: 1), control1: CGPoint(x: 11.5, y: 1.047), control2: CGPoint(x: 11.746, y: 1))
        p.addCurve(to: CGPoint(x: 12.736, y: 1.14), control1: CGPoint(x: 12.254, y: 1), control2: CGPoint(x: 12.5, y: 1.047))
        p.addCurve(to: CGPoint(x: 13.414, y: 1.586), control1: CGPoint(x: 12.993, y: 1.242), control2: CGPoint(x: 13.219, y: 1.391))
        p.addCurve(to: CGPoint(x: 13.86, y: 2.264), control1: CGPoint(x: 13.609, y: 1.781), control2: CGPoint(x: 13.758, y: 2.007))
        p.addCurve(to: CGPoint(x: 14, y: 3), control1: CGPoint(x: 13.953, y: 2.5), control2: CGPoint(x: 14, y: 2.746))
        p.addLine(to: CGPoint(x: 14, y: 13))
        p.addCurve(to: CGPoint(x: 13.86, y: 13.736), control1: CGPoint(x: 14, y: 13.254), control2: CGPoint(x: 13.953, y: 13.5))
        p.addCurve(to: CGPoint(x: 13.414, y: 14.414), control1: CGPoint(x: 13.758, y: 13.993), control2: CGPoint(x: 13.609, y: 14.219))
        p.addCurve(to: CGPoint(x: 12.736, y: 14.86), control1: CGPoint(x: 13.219, y: 14.609), control2: CGPoint(x: 12.993, y: 14.758))
        p.addCurve(to: CGPoint(x: 12, y: 15), control1: CGPoint(x: 12.5, y: 14.953), control2: CGPoint(x: 12.254, y: 15))
        p.addLine(to: CGPoint(x: 3, y: 15))
        p.addCurve(to: CGPoint(x: 2.264, y: 14.86), control1: CGPoint(x: 2.746, y: 15), control2: CGPoint(x: 2.5, y: 14.953))
        p.addCurve(to: CGPoint(x: 1.586, y: 14.414), control1: CGPoint(x: 2.007, y: 14.758), control2: CGPoint(x: 1.781, y: 14.609))
        p.addCurve(to: CGPoint(x: 1.14, y: 13.736), control1: CGPoint(x: 1.391, y: 14.219), control2: CGPoint(x: 1.242, y: 13.993))
        p.addCurve(to: CGPoint(x: 1, y: 13), control1: CGPoint(x: 1.047, y: 13.5), control2: CGPoint(x: 1, y: 13.254))
        p.addLine(to: CGPoint(x: 1, y: 10.5))
        p.addCurve(to: CGPoint(x: 1.222, y: 9.385), control1: CGPoint(x: 1, y: 10.114), control2: CGPoint(x: 1.074, y: 9.742))
        p.addCurve(to: CGPoint(x: 1.854, y: 8.439), control1: CGPoint(x: 1.37, y: 9.028), control2: CGPoint(x: 1.58, y: 8.713))
        p.addLine(to: CGPoint(x: 4.146, y: 6.146))
        p.addCurve(to: CGPoint(x: 4.5, y: 5.997), control1: CGPoint(x: 4.246, y: 6.047), control2: CGPoint(x: 4.364, y: 5.997))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13, y: 13))
        p.addLine(to: CGPoint(x: 13, y: 3))
        p.addCurve(to: CGPoint(x: 12.707, y: 2.293), control1: CGPoint(x: 13, y: 2.724), control2: CGPoint(x: 12.902, y: 2.488))
        p.addCurve(to: CGPoint(x: 12, y: 2), control1: CGPoint(x: 12.512, y: 2.098), control2: CGPoint(x: 12.276, y: 2))
        p.addCurve(to: CGPoint(x: 11.293, y: 2.293), control1: CGPoint(x: 11.724, y: 2), control2: CGPoint(x: 11.488, y: 2.098))
        p.addCurve(to: CGPoint(x: 11, y: 3), control1: CGPoint(x: 11.098, y: 2.488), control2: CGPoint(x: 11, y: 2.724))
        p.addLine(to: CGPoint(x: 11, y: 5.5))
        p.addCurve(to: CGPoint(x: 10.778, y: 6.615), control1: CGPoint(x: 11, y: 5.886), control2: CGPoint(x: 10.926, y: 6.258))
        p.addCurve(to: CGPoint(x: 10.146, y: 7.561), control1: CGPoint(x: 10.63, y: 6.972), control2: CGPoint(x: 10.42, y: 7.287))
        p.addLine(to: CGPoint(x: 7.854, y: 9.854))
        p.addCurve(to: CGPoint(x: 7.5, y: 10), control1: CGPoint(x: 7.756, y: 9.951), control2: CGPoint(x: 7.638, y: 10))
        p.addCurve(to: CGPoint(x: 7.144, y: 9.856), control1: CGPoint(x: 7.359, y: 10), control2: CGPoint(x: 7.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 7, y: 9.5), control1: CGPoint(x: 7.048, y: 9.759), control2: CGPoint(x: 7, y: 9.641))
        p.addLine(to: CGPoint(x: 7, y: 7.707))
        p.addLine(to: CGPoint(x: 4.854, y: 9.854))
        p.addCurve(to: CGPoint(x: 4.5, y: 10), control1: CGPoint(x: 4.756, y: 9.951), control2: CGPoint(x: 4.638, y: 10))
        p.addCurve(to: CGPoint(x: 4.144, y: 9.856), control1: CGPoint(x: 4.359, y: 10), control2: CGPoint(x: 4.241, y: 9.952))
        p.addCurve(to: CGPoint(x: 4, y: 9.5), control1: CGPoint(x: 4.048, y: 9.759), control2: CGPoint(x: 4, y: 9.641))
        p.addLine(to: CGPoint(x: 4, y: 7.707))
        p.addLine(to: CGPoint(x: 2.561, y: 9.146))
        p.addCurve(to: CGPoint(x: 2.146, y: 9.767), control1: CGPoint(x: 2.381, y: 9.326), control2: CGPoint(x: 2.243, y: 9.533))
        p.addCurve(to: CGPoint(x: 2, y: 10.5), control1: CGPoint(x: 2.049, y: 10.002), control2: CGPoint(x: 2, y: 10.246))
        p.addLine(to: CGPoint(x: 2, y: 13))
        p.addCurve(to: CGPoint(x: 2.293, y: 13.707), control1: CGPoint(x: 2, y: 13.276), control2: CGPoint(x: 2.098, y: 13.512))
        p.addCurve(to: CGPoint(x: 3, y: 14), control1: CGPoint(x: 2.488, y: 13.902), control2: CGPoint(x: 2.724, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addCurve(to: CGPoint(x: 12.707, y: 13.707), control1: CGPoint(x: 12.276, y: 14), control2: CGPoint(x: 12.512, y: 13.902))
        p.addCurve(to: CGPoint(x: 13, y: 13), control1: CGPoint(x: 12.902, y: 13.512), control2: CGPoint(x: 13, y: 13.276))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 11))
        p.addLine(to: CGPoint(x: 6, y: 11))
        p.addLine(to: CGPoint(x: 6, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 11))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 11))
        p.addLine(to: CGPoint(x: 11, y: 11))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addLine(to: CGPoint(x: 9, y: 12))
        p.addLine(to: CGPoint(x: 9, y: 11))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "factory" (line-round), MIT. https://gentleface.com/icons/factory
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 FactoryIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "factory", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_factory.xml · Gentleface "factory" (line-round), MIT. https://gentleface.com/icons/factory -->
<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="M4.5 5.997C4.636 5.997 4.754 6.047 4.854 6.146C4.951 6.244 5 6.362 5 6.5L5 8.293L7.146 6.146C7.246 6.047 7.364 5.997 7.5 5.997C7.636 5.997 7.754 6.047 7.854 6.146C7.951 6.244 8 6.362 8 6.5L8 8.293L9.439 6.854C9.619 6.674 9.757 6.467 9.854 6.233C9.951 5.998 10 5.754 10 5.5L10 3C10 2.746 10.047 2.5 10.14 2.264C10.242 2.007 10.391 1.781 10.586 1.586C10.781 1.391 11.007 1.242 11.264 1.14C11.5 1.047 11.746 1 12 1C12.254 1 12.5 1.047 12.736 1.14C12.993 1.242 13.219 1.391 13.414 1.586C13.609 1.781 13.758 2.007 13.86 2.264C13.953 2.5 14 2.746 14 3L14 13C14 13.254 13.953 13.5 13.86 13.736C13.758 13.993 13.609 14.219 13.414 14.414C13.219 14.609 12.993 14.758 12.736 14.86C12.5 14.953 12.254 15 12 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 10.5C1 10.114 1.074 9.742 1.222 9.385C1.37 9.028 1.58 8.713 1.854 8.439L4.146 6.146C4.246 6.047 4.364 5.997 4.5 5.997ZM13 13L13 3C13 2.724 12.902 2.488 12.707 2.293C12.512 2.098 12.276 2 12 2C11.724 2 11.488 2.098 11.293 2.293C11.098 2.488 11 2.724 11 3L11 5.5C11 5.886 10.926 6.258 10.778 6.615C10.63 6.972 10.42 7.287 10.146 7.561L7.854 9.854C7.756 9.951 7.638 10 7.5 10C7.359 10 7.241 9.952 7.144 9.856C7.048 9.759 7 9.641 7 9.5L7 7.707L4.854 9.854C4.756 9.951 4.638 10 4.5 10C4.359 10 4.241 9.952 4.144 9.856C4.048 9.759 4 9.641 4 9.5L4 7.707L2.561 9.146C2.381 9.326 2.243 9.533 2.146 9.767C2.049 10.002 2 10.246 2 10.5L2 13C2 13.276 2.098 13.512 2.293 13.707C2.488 13.902 2.724 14 3 14L12 14C12.276 14 12.512 13.902 12.707 13.707C12.902 13.512 13 13.276 13 13ZM4 11L6 11L6 12L4 12L4 11ZM9 11L11 11L11 12L9 12L9 11Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4.5, 5.997)
      ..cubicTo(4.636, 5.997, 4.754, 6.047, 4.854, 6.146)
      ..cubicTo(4.951, 6.244, 5, 6.362, 5, 6.5)
      ..lineTo(5, 8.293)
      ..lineTo(7.146, 6.146)
      ..cubicTo(7.246, 6.047, 7.364, 5.997, 7.5, 5.997)
      ..cubicTo(7.636, 5.997, 7.754, 6.047, 7.854, 6.146)
      ..cubicTo(7.951, 6.244, 8, 6.362, 8, 6.5)
      ..lineTo(8, 8.293)
      ..lineTo(9.439, 6.854)
      ..cubicTo(9.619, 6.674, 9.757, 6.467, 9.854, 6.233)
      ..cubicTo(9.951, 5.998, 10, 5.754, 10, 5.5)
      ..lineTo(10, 3)
      ..cubicTo(10, 2.746, 10.047, 2.5, 10.14, 2.264)
      ..cubicTo(10.242, 2.007, 10.391, 1.781, 10.586, 1.586)
      ..cubicTo(10.781, 1.391, 11.007, 1.242, 11.264, 1.14)
      ..cubicTo(11.5, 1.047, 11.746, 1, 12, 1)
      ..cubicTo(12.254, 1, 12.5, 1.047, 12.736, 1.14)
      ..cubicTo(12.993, 1.242, 13.219, 1.391, 13.414, 1.586)
      ..cubicTo(13.609, 1.781, 13.758, 2.007, 13.86, 2.264)
      ..cubicTo(13.953, 2.5, 14, 2.746, 14, 3)
      ..lineTo(14, 13)
      ..cubicTo(14, 13.254, 13.953, 13.5, 13.86, 13.736)
      ..cubicTo(13.758, 13.993, 13.609, 14.219, 13.414, 14.414)
      ..cubicTo(13.219, 14.609, 12.993, 14.758, 12.736, 14.86)
      ..cubicTo(12.5, 14.953, 12.254, 15, 12, 15)
      ..lineTo(3, 15)
      ..cubicTo(2.746, 15, 2.5, 14.953, 2.264, 14.86)
      ..cubicTo(2.007, 14.758, 1.781, 14.609, 1.586, 14.414)
      ..cubicTo(1.391, 14.219, 1.242, 13.993, 1.14, 13.736)
      ..cubicTo(1.047, 13.5, 1, 13.254, 1, 13)
      ..lineTo(1, 10.5)
      ..cubicTo(1, 10.114, 1.074, 9.742, 1.222, 9.385)
      ..cubicTo(1.37, 9.028, 1.58, 8.713, 1.854, 8.439)
      ..lineTo(4.146, 6.146)
      ..cubicTo(4.246, 6.047, 4.364, 5.997, 4.5, 5.997)
      ..close()
      ..moveTo(13, 13)
      ..lineTo(13, 3)
      ..cubicTo(13, 2.724, 12.902, 2.488, 12.707, 2.293)
      ..cubicTo(12.512, 2.098, 12.276, 2, 12, 2)
      ..cubicTo(11.724, 2, 11.488, 2.098, 11.293, 2.293)
      ..cubicTo(11.098, 2.488, 11, 2.724, 11, 3)
      ..lineTo(11, 5.5)
      ..cubicTo(11, 5.886, 10.926, 6.258, 10.778, 6.615)
      ..cubicTo(10.63, 6.972, 10.42, 7.287, 10.146, 7.561)
      ..lineTo(7.854, 9.854)
      ..cubicTo(7.756, 9.951, 7.638, 10, 7.5, 10)
      ..cubicTo(7.359, 10, 7.241, 9.952, 7.144, 9.856)
      ..cubicTo(7.048, 9.759, 7, 9.641, 7, 9.5)
      ..lineTo(7, 7.707)
      ..lineTo(4.854, 9.854)
      ..cubicTo(4.756, 9.951, 4.638, 10, 4.5, 10)
      ..cubicTo(4.359, 10, 4.241, 9.952, 4.144, 9.856)
      ..cubicTo(4.048, 9.759, 4, 9.641, 4, 9.5)
      ..lineTo(4, 7.707)
      ..lineTo(2.561, 9.146)
      ..cubicTo(2.381, 9.326, 2.243, 9.533, 2.146, 9.767)
      ..cubicTo(2.049, 10.002, 2, 10.246, 2, 10.5)
      ..lineTo(2, 13)
      ..cubicTo(2, 13.276, 2.098, 13.512, 2.293, 13.707)
      ..cubicTo(2.488, 13.902, 2.724, 14, 3, 14)
      ..lineTo(12, 14)
      ..cubicTo(12.276, 14, 12.512, 13.902, 12.707, 13.707)
      ..cubicTo(12.902, 13.512, 13, 13.276, 13, 13)
      ..close()
      ..moveTo(4, 11)
      ..lineTo(6, 11)
      ..lineTo(6, 12)
      ..lineTo(4, 12)
      ..lineTo(4, 11)
      ..close()
      ..moveTo(9, 11)
      ..lineTo(11, 11)
      ..lineTo(11, 12)
      ..lineTo(9, 12)
      ..lineTo(9, 11)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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