ICONYZ
English
Ship icon from Unicons

Ship icon

uil:ship

The Ship icon (uil:ship) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Unicons
Author
Iconscout
License
Apache-2.0
Size
24 × 24
Category
Transport
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3.62 17.28a1 1 0 0 0 1.86-.74l-1.12-2.82L11 12.25V17a1 1 0 0 0 2 0v-4.75l6.64 1.47l-1.12 2.82a1 1 0 0 0 .56 1.3a1 1 0 0 0 .37.07a1 1 0 0 0 .93-.63l1.55-3.91a1 1 0 0 0-.05-.84a1 1 0 0 0-.66-.51L18 11.31V7a1 1 0 0 0-1-1h-2V3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3H7a1 1 0 0 0-1 1v4.31L2.78 12a1 1 0 0 0-.66.51a1 1 0 0 0-.05.84ZM11 4h2v2h-2ZM8 8h8v2.86L12.22 10h-.44L8 10.86Zm12.71 11.28a4.4 4.4 0 0 0-1 .45a2.08 2.08 0 0 1-2.1 0a4.62 4.62 0 0 0-4.54 0a2.14 2.14 0 0 1-2.12 0a4.64 4.64 0 0 0-4.54 0a2.08 2.08 0 0 1-2.1 0a4.4 4.4 0 0 0-1-.45A1 1 0 0 0 2 20a1 1 0 0 0 .67 1.24a2.1 2.1 0 0 1 .57.25a4 4 0 0 0 2 .55a4.14 4.14 0 0 0 2.08-.56a2.65 2.65 0 0 1 2.56 0a4.15 4.15 0 0 0 4.12 0a2.65 2.65 0 0 1 2.56 0a4 4 0 0 0 4.1 0a2.1 2.1 0 0 1 .57-.25A1 1 0 0 0 22 20a1 1 0 0 0-1.29-.72"/></svg>

How to use the Ship icon

React

import { Icon } from "@iconify/react";

<Icon icon="uil:ship" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="uil:ship" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="uil:ship" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--ship]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:ship"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="uil:ship"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/uil/ship.svg" alt="Ship icon" width="24" height="24">

Ship icon in other icon sets

Ship icon FAQ

Is the Ship icon free for commercial use?

Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Ship icon in React?

Install @iconify/react and render <Icon icon="uil:ship" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Ship icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/ship.svg" alt="Ship icon">, or paste the SVG code inline to style it with CSS.

Browse all Unicons →