ICONYZ
English
Ship icon from Boxicons

Ship icon

boxicons:ship

The Ship icon (boxicons:ship) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
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="M18.08 15.01H18c-.19 0-.34.01-.48.03c-.93.08-1.51.34-1.97.57s-.79.39-1.56.39s-1.09-.17-1.55-.39c-.54-.27-1.21-.61-2.45-.61s-1.91.34-2.45.61c-.46.23-.79.39-1.55.39s-1.09-.17-1.55-.39C3.9 15.34 3.23 15 1.99 15v2c.76 0 1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.55-.39s1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.56-.39s1.1.17 1.56.39c.54.27 1.21.61 2.45.61v-2c-.77 0-1.1-.17-1.56-.39c-.53-.26-1.19-.58-2.37-.6M18 19c-1.24 0-1.91.34-2.45.61c-.46.23-.79.39-1.56.39s-1.09-.17-1.55-.39c-.54-.27-1.21-.61-2.45-.61s-1.91.34-2.45.61c-.46.23-.79.39-1.55.39s-1.09-.17-1.55-.39C3.9 19.34 3.23 19 1.99 19v2c.76 0 1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.55-.39s1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.56-.39s1.1.17 1.56.39c.54.27 1.21.61 2.45.61v-2c-.77 0-1.1-.17-1.56-.39c-.54-.27-1.21-.61-2.45-.61M5.51 13.97c.14.02.3.03.49.03c.75 0 1.08-.16 1.53-.38L6.32 10.6l5.69-2.03l5.69 2.03l-1.03 2.58c.36-.1.79-.17 1.34-.17c.32 0 .6.02.86.06l1.08-2.69c.1-.25.09-.54-.02-.78s-.32-.44-.58-.53l-1.34-.48V4.01c0-.55-.45-1-1-1h-4v-1h-2v1h-4c-.55 0-1 .45-1 1v4.58l-1.34.48c-.26.09-.46.28-.58.53s-.12.53-.02.78l1.44 3.6ZM8 5h8v2.87l-3.66-1.31a.97.97 0 0 0-.67 0L8.01 7.87V5Z"/></svg>

How to use the Ship icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Ship icon in other icon sets

Ship icon FAQ

Is the Ship icon free for commercial use?

Yes. Boxicons are released under the MIT 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="boxicons: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/boxicons/ship.svg" alt="Ship icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →