# ship icon

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

- Category: Transportation
- Use it for: ship, boat, ferry, cruise, vessel
- Tags: ship, boat, ferry, cruise, vessel, sea, maritime, shipping-line
- Component name: ShipIcon
- Added: 2026-10-14
- Changed: 2026-10-15 (16 px redrawn)

## Alternatives

- `sailboat`: sailing or a yacht
- `anchor`: a harbor or marina

## Also fits

- harbor: a ship, boat or ferry
- freight: sea freight or a ship
- sailboat: a ship, ferry or cruise

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

The SVG of every style: https://gentleface.com/icons/ship.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="M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z"/></svg>
```

### React

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

export function ShipIcon(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="M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "ship" (line-round), MIT. https://gentleface.com/icons/ship -->
<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="M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "ship" (line-round), MIT. https://gentleface.com/icons/ship -->
<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="M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "ship" (line-round), MIT. https://gentleface.com/icons/ship. Takes the text color. */
.icon-ship {
  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='M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z'/%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='M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z'/%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='M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct ShipIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 11.707, y: 4.293))
        p.addCurve(to: CGPoint(x: 12, y: 5), control1: CGPoint(x: 11.902, y: 4.488), control2: CGPoint(x: 12, y: 4.724))
        p.addLine(to: CGPoint(x: 12, y: 8))
        p.addLine(to: CGPoint(x: 13.5, y: 8))
        p.addCurve(to: CGPoint(x: 13.856, y: 8.144), control1: CGPoint(x: 13.641, y: 8), control2: CGPoint(x: 13.759, y: 8.048))
        p.addCurve(to: CGPoint(x: 14, y: 8.5), control1: CGPoint(x: 13.952, y: 8.241), control2: CGPoint(x: 14, y: 8.359))
        p.addCurve(to: CGPoint(x: 13.854, y: 8.854), control1: CGPoint(x: 14, y: 8.638), control2: CGPoint(x: 13.951, y: 8.756))
        p.addLine(to: CGPoint(x: 11.561, y: 11.146))
        p.addCurve(to: CGPoint(x: 10.615, y: 11.778), control1: CGPoint(x: 11.287, y: 11.42), control2: CGPoint(x: 10.972, y: 11.63))
        p.addCurve(to: CGPoint(x: 9.5, y: 12), control1: CGPoint(x: 10.258, y: 11.926), control2: CGPoint(x: 9.886, y: 12))
        p.addLine(to: CGPoint(x: 5.5, y: 12))
        p.addCurve(to: CGPoint(x: 4.385, y: 11.778), control1: CGPoint(x: 5.114, y: 12), control2: CGPoint(x: 4.742, y: 11.926))
        p.addCurve(to: CGPoint(x: 3.439, y: 11.146), control1: CGPoint(x: 4.028, y: 11.63), control2: CGPoint(x: 3.713, y: 11.42))
        p.addLine(to: CGPoint(x: 1.146, y: 8.854))
        p.addCurve(to: CGPoint(x: 0.997, y: 8.5), control1: CGPoint(x: 1.047, y: 8.754), control2: CGPoint(x: 0.997, y: 8.636))
        p.addCurve(to: CGPoint(x: 1.146, y: 8.146), control1: CGPoint(x: 0.997, y: 8.364), control2: CGPoint(x: 1.047, y: 8.246))
        p.addCurve(to: CGPoint(x: 1.5, y: 8), control1: CGPoint(x: 1.244, y: 8.049), control2: CGPoint(x: 1.362, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 8))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addCurve(to: CGPoint(x: 3.293, y: 4.293), control1: CGPoint(x: 3, y: 4.724), control2: CGPoint(x: 3.098, y: 4.488))
        p.addCurve(to: CGPoint(x: 4, y: 4), control1: CGPoint(x: 3.488, y: 4.098), control2: CGPoint(x: 3.724, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 2.5))
        p.addCurve(to: CGPoint(x: 7.144, y: 2.144), control1: CGPoint(x: 7, y: 2.359), control2: CGPoint(x: 7.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 7.241, y: 2.048), control2: CGPoint(x: 7.359, y: 2))
        p.addCurve(to: CGPoint(x: 7.856, y: 2.144), control1: CGPoint(x: 7.641, y: 2), control2: CGPoint(x: 7.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 8, y: 2.5), control1: CGPoint(x: 7.952, y: 2.241), control2: CGPoint(x: 8, y: 2.359))
        p.addLine(to: CGPoint(x: 8, y: 4))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.addCurve(to: CGPoint(x: 11.707, y: 4.293), control1: CGPoint(x: 11.276, y: 4), control2: CGPoint(x: 11.512, y: 4.098))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 8))
        p.addLine(to: CGPoint(x: 11, y: 8))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.146, y: 10.439))
        p.addCurve(to: CGPoint(x: 4.767, y: 10.854), control1: CGPoint(x: 4.326, y: 10.619), control2: CGPoint(x: 4.533, y: 10.757))
        p.addCurve(to: CGPoint(x: 5.5, y: 11), control1: CGPoint(x: 5.002, y: 10.951), control2: CGPoint(x: 5.246, y: 11))
        p.addLine(to: CGPoint(x: 9.5, y: 11))
        p.addCurve(to: CGPoint(x: 10.233, y: 10.854), control1: CGPoint(x: 9.754, y: 11), control2: CGPoint(x: 9.998, y: 10.951))
        p.addCurve(to: CGPoint(x: 10.854, y: 10.439), control1: CGPoint(x: 10.467, y: 10.757), control2: CGPoint(x: 10.674, y: 10.619))
        p.addLine(to: CGPoint(x: 12.293, y: 9))
        p.addLine(to: CGPoint(x: 2.707, y: 9))
        p.addLine(to: CGPoint(x: 4.146, y: 10.439))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.5, y: 13.941))
        p.addLine(to: CGPoint(x: 5.276, y: 13.053))
        p.addCurve(to: CGPoint(x: 5.724, y: 13.053), control1: CGPoint(x: 5.425, y: 12.978), control2: CGPoint(x: 5.575, y: 12.978))
        p.addLine(to: CGPoint(x: 7.5, y: 13.941))
        p.addLine(to: CGPoint(x: 9.276, y: 13.053))
        p.addCurve(to: CGPoint(x: 9.724, y: 13.053), control1: CGPoint(x: 9.425, y: 12.978), control2: CGPoint(x: 9.575, y: 12.978))
        p.addLine(to: CGPoint(x: 11.5, y: 13.941))
        p.addLine(to: CGPoint(x: 13.276, y: 13.053))
        p.addCurve(to: CGPoint(x: 13.659, y: 13.023), control1: CGPoint(x: 13.402, y: 12.99), control2: CGPoint(x: 13.53, y: 12.98))
        p.addCurve(to: CGPoint(x: 13.947, y: 13.276), control1: CGPoint(x: 13.788, y: 13.066), control2: CGPoint(x: 13.884, y: 13.15))
        p.addCurve(to: CGPoint(x: 13.977, y: 13.659), control1: CGPoint(x: 14.01, y: 13.402), control2: CGPoint(x: 14.02, y: 13.53))
        p.addCurve(to: CGPoint(x: 13.724, y: 13.947), control1: CGPoint(x: 13.934, y: 13.788), control2: CGPoint(x: 13.85, y: 13.884))
        p.addLine(to: CGPoint(x: 11.724, y: 14.947))
        p.addCurve(to: CGPoint(x: 11.276, y: 14.947), control1: CGPoint(x: 11.575, y: 15.022), control2: CGPoint(x: 11.425, y: 15.022))
        p.addLine(to: CGPoint(x: 9.5, y: 14.059))
        p.addLine(to: CGPoint(x: 7.724, y: 14.947))
        p.addCurve(to: CGPoint(x: 7.276, y: 14.947), control1: CGPoint(x: 7.575, y: 15.022), control2: CGPoint(x: 7.425, y: 15.022))
        p.addLine(to: CGPoint(x: 5.5, y: 14.059))
        p.addLine(to: CGPoint(x: 3.724, y: 14.947))
        p.addCurve(to: CGPoint(x: 3.276, y: 14.947), control1: CGPoint(x: 3.575, y: 15.022), control2: CGPoint(x: 3.425, y: 15.022))
        p.addLine(to: CGPoint(x: 1.276, y: 13.947))
        p.addCurve(to: CGPoint(x: 1.023, y: 13.659), control1: CGPoint(x: 1.15, y: 13.884), control2: CGPoint(x: 1.066, y: 13.788))
        p.addCurve(to: CGPoint(x: 1.053, y: 13.276), control1: CGPoint(x: 0.98, y: 13.53), control2: CGPoint(x: 0.99, y: 13.402))
        p.addCurve(to: CGPoint(x: 1.341, y: 13.023), control1: CGPoint(x: 1.116, y: 13.15), control2: CGPoint(x: 1.212, y: 13.066))
        p.addCurve(to: CGPoint(x: 1.724, y: 13.053), control1: CGPoint(x: 1.47, y: 12.98), control2: CGPoint(x: 1.598, y: 12.99))
        p.addLine(to: CGPoint(x: 3.5, y: 13.941))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "ship" (line-round), MIT. https://gentleface.com/icons/ship
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 ShipIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "ship", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_ship.xml · Gentleface "ship" (line-round), MIT. https://gentleface.com/icons/ship -->
<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="M11.707 4.293C11.902 4.488 12 4.724 12 5L12 8L13.5 8C13.641 8 13.759 8.048 13.856 8.144C13.952 8.241 14 8.359 14 8.5C14 8.638 13.951 8.756 13.854 8.854L11.561 11.146C11.287 11.42 10.972 11.63 10.615 11.778C10.258 11.926 9.886 12 9.5 12L5.5 12C5.114 12 4.742 11.926 4.385 11.778C4.028 11.63 3.713 11.42 3.439 11.146L1.146 8.854C1.047 8.754 0.997 8.636 0.997 8.5C0.997 8.364 1.047 8.246 1.146 8.146C1.244 8.049 1.362 8 1.5 8L3 8L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L7 4L7 2.5C7 2.359 7.048 2.241 7.144 2.144C7.241 2.048 7.359 2 7.5 2C7.641 2 7.759 2.048 7.856 2.144C7.952 2.241 8 2.359 8 2.5L8 4L11 4C11.276 4 11.512 4.098 11.707 4.293ZM11 5L4 5L4 8L11 8L11 5ZM4.146 10.439C4.326 10.619 4.533 10.757 4.767 10.854C5.002 10.951 5.246 11 5.5 11L9.5 11C9.754 11 9.998 10.951 10.233 10.854C10.467 10.757 10.674 10.619 10.854 10.439L12.293 9L2.707 9L4.146 10.439ZM3.5 13.941L5.276 13.053C5.425 12.978 5.575 12.978 5.724 13.053L7.5 13.941L9.276 13.053C9.425 12.978 9.575 12.978 9.724 13.053L11.5 13.941L13.276 13.053C13.402 12.99 13.53 12.98 13.659 13.023C13.788 13.066 13.884 13.15 13.947 13.276C14.01 13.402 14.02 13.53 13.977 13.659C13.934 13.788 13.85 13.884 13.724 13.947L11.724 14.947C11.575 15.022 11.425 15.022 11.276 14.947L9.5 14.059L7.724 14.947C7.575 15.022 7.425 15.022 7.276 14.947L5.5 14.059L3.724 14.947C3.575 15.022 3.425 15.022 3.276 14.947L1.276 13.947C1.15 13.884 1.066 13.788 1.023 13.659C0.98 13.53 0.99 13.402 1.053 13.276C1.116 13.15 1.212 13.066 1.341 13.023C1.47 12.98 1.598 12.99 1.724 13.053L3.5 13.941Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(11.707, 4.293)
      ..cubicTo(11.902, 4.488, 12, 4.724, 12, 5)
      ..lineTo(12, 8)
      ..lineTo(13.5, 8)
      ..cubicTo(13.641, 8, 13.759, 8.048, 13.856, 8.144)
      ..cubicTo(13.952, 8.241, 14, 8.359, 14, 8.5)
      ..cubicTo(14, 8.638, 13.951, 8.756, 13.854, 8.854)
      ..lineTo(11.561, 11.146)
      ..cubicTo(11.287, 11.42, 10.972, 11.63, 10.615, 11.778)
      ..cubicTo(10.258, 11.926, 9.886, 12, 9.5, 12)
      ..lineTo(5.5, 12)
      ..cubicTo(5.114, 12, 4.742, 11.926, 4.385, 11.778)
      ..cubicTo(4.028, 11.63, 3.713, 11.42, 3.439, 11.146)
      ..lineTo(1.146, 8.854)
      ..cubicTo(1.047, 8.754, 0.997, 8.636, 0.997, 8.5)
      ..cubicTo(0.997, 8.364, 1.047, 8.246, 1.146, 8.146)
      ..cubicTo(1.244, 8.049, 1.362, 8, 1.5, 8)
      ..lineTo(3, 8)
      ..lineTo(3, 5)
      ..cubicTo(3, 4.724, 3.098, 4.488, 3.293, 4.293)
      ..cubicTo(3.488, 4.098, 3.724, 4, 4, 4)
      ..lineTo(7, 4)
      ..lineTo(7, 2.5)
      ..cubicTo(7, 2.359, 7.048, 2.241, 7.144, 2.144)
      ..cubicTo(7.241, 2.048, 7.359, 2, 7.5, 2)
      ..cubicTo(7.641, 2, 7.759, 2.048, 7.856, 2.144)
      ..cubicTo(7.952, 2.241, 8, 2.359, 8, 2.5)
      ..lineTo(8, 4)
      ..lineTo(11, 4)
      ..cubicTo(11.276, 4, 11.512, 4.098, 11.707, 4.293)
      ..close()
      ..moveTo(11, 5)
      ..lineTo(4, 5)
      ..lineTo(4, 8)
      ..lineTo(11, 8)
      ..lineTo(11, 5)
      ..close()
      ..moveTo(4.146, 10.439)
      ..cubicTo(4.326, 10.619, 4.533, 10.757, 4.767, 10.854)
      ..cubicTo(5.002, 10.951, 5.246, 11, 5.5, 11)
      ..lineTo(9.5, 11)
      ..cubicTo(9.754, 11, 9.998, 10.951, 10.233, 10.854)
      ..cubicTo(10.467, 10.757, 10.674, 10.619, 10.854, 10.439)
      ..lineTo(12.293, 9)
      ..lineTo(2.707, 9)
      ..lineTo(4.146, 10.439)
      ..close()
      ..moveTo(3.5, 13.941)
      ..lineTo(5.276, 13.053)
      ..cubicTo(5.425, 12.978, 5.575, 12.978, 5.724, 13.053)
      ..lineTo(7.5, 13.941)
      ..lineTo(9.276, 13.053)
      ..cubicTo(9.425, 12.978, 9.575, 12.978, 9.724, 13.053)
      ..lineTo(11.5, 13.941)
      ..lineTo(13.276, 13.053)
      ..cubicTo(13.402, 12.99, 13.53, 12.98, 13.659, 13.023)
      ..cubicTo(13.788, 13.066, 13.884, 13.15, 13.947, 13.276)
      ..cubicTo(14.01, 13.402, 14.02, 13.53, 13.977, 13.659)
      ..cubicTo(13.934, 13.788, 13.85, 13.884, 13.724, 13.947)
      ..lineTo(11.724, 14.947)
      ..cubicTo(11.575, 15.022, 11.425, 15.022, 11.276, 14.947)
      ..lineTo(9.5, 14.059)
      ..lineTo(7.724, 14.947)
      ..cubicTo(7.575, 15.022, 7.425, 15.022, 7.276, 14.947)
      ..lineTo(5.5, 14.059)
      ..lineTo(3.724, 14.947)
      ..cubicTo(3.575, 15.022, 3.425, 15.022, 3.276, 14.947)
      ..lineTo(1.276, 13.947)
      ..cubicTo(1.15, 13.884, 1.066, 13.788, 1.023, 13.659)
      ..cubicTo(0.98, 13.53, 0.99, 13.402, 1.053, 13.276)
      ..cubicTo(1.116, 13.15, 1.212, 13.066, 1.341, 13.023)
      ..cubicTo(1.47, 12.98, 1.598, 12.99, 1.724, 13.053)
      ..lineTo(3.5, 13.941)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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